Part Number: PROCESSOR-SDK-AM437X
Other Parts Discussed in Thread: SYSBIOS
Tool/software: Code Composer Studio
Hi,
I did an exercise of reproducing my development environment into different machines.
When I´ve build my application using the Release configuration, I´ve got different outputs depending on the workspace path.
I understand that the “.out” file has symbols, but the binary files are different too. The binary files were obtained using objcopy.exe and tiimage.exe.
These are the compile command flags for the Release configuration:
-mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -Dam4378 -DSOC_AM437x -DSK_AM437X -D_USE_WDT_ -I"C:/ALSTOM/CED2/Workspace/ced2_v1000_beta4" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -Wall -std=c++11
and
-mcpu=cortex-a9 -mtune=cortex-a9 -march=armv7-a -marm -mfloat-abi=hard -Dam4378 -DSOC_AM437x -DSK_AM437X -D_USE_WDT_ -I"C:/Users/mborges/workspace_v7/ced2_v1000_beta4" -I"C:/ti/gcc-arm-none-eabi-4_9-2015q3/arm-none-eabi/include" -O2 -Wall -std=c++11
These are the link command flags:
-mtune=cortex-a9 -marm -Dam4378 -DSOC_AM437x -DSK_AM437X -D_USE_WDT_ -O2 -Wall -std=c++11 -mfloat-abi=hard -Wl,-Map,"ced2.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/bios_6_46_05_55/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -Wl,--defsym,STACKSIZE=0x18000 -Wl,--defsym,HEAPSIZE=0x400
and
-mtune=cortex-a9 -marm -Dam4378 -DSOC_AM437x -DSK_AM437X -D_USE_WDT_ -O2 -Wall -std=c++11 -mfloat-abi=hard -Wl,-Map,"ced2.map" -nostartfiles -static -Wl,--gc-sections -L"C:/ti/bios_6_46_05_55/packages/gnu/targets/arm/libs/install-native/arm-none-eabi/lib/fpu" -Wl,--defsym,STACKSIZE=0x18000 -Wl,--defsym,HEAPSIZE=0x400
Please check out these 2 map files attached. The length of "xdc.meta" are different by the exact difference of chars in the workspace path (5 chars). The rest of the code is shifted.
Is there any explanation/reason for that?
Installed items:
CCS 7.2
GCC ARM Compiler 4.9.3
processor_sdk_rtos_am437x 4.00.00.04
am437x PDK v1.0.7
bios 6.46.05.55
xdctools 3.32.02.25_core
regards,
Marcio.