This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CCS/TM4C129ENCPDT: Compiler differences between Linux and Windows

Part Number: TM4C129ENCPDT


Tool/software: Code Composer Studio

Hello,

I have been trying to port some of embedded programs from windows development to linux development. Unfortunately, even though I am using all of the same libraries and compilers. The ndk library I use has some differences when it is compiled in Windows Vs Linux. I am trying to understand why this difference exists, its significance, and finally if I can remove it so that the files are functionally the same. An example difference is in the stk_nat_ppp_pppoe file. By comparing the files using objdiff from cgxml-2.61.00, I get the following difference:

objdiff linux\stk_nat_ppp_pppoe.aem4f windows\stk_nat_ppp_pppoe.aem4f ofd6x
Processing linux\stk_nat_ppp_pppoe.aem4f ...
Processing windows\stk_nat_ppp_pppoe.aem4f ...
Comparing files ...

**********************************************************************
Filename sock.oem4f
**********************************************************************
======================================================================
Comparing Sections : section = .text:SockShutdown : elf32_shdr
======================================================================
Differences: linux\stk_nat_ppp_pppoe_02.aem4f windows\stk_nat_ppp_pppoe.aem4f
sh_size: 0x70 0x7c

Files are different

For reference, here is the relevant tool-chain information:

Target: ti.targets.arm.elf.M4F

Compiler: ti-cgt-arm_5.2.6

XDC tools: xdctools_3_31_01_33_core

SYSBIO version: bios_6_42_03_35