Dear all,
We have created a output object using the 7.4.8 compiler.
Although τhe size of the code is 661 KB, the total size of object is 21.8 MB. After execute the strip command the size 1.88 KB.
The symbolic debug options are enabled when we compiler the whole project.
How we can reduce the size of the executable?
Please find below the compiler setting and the linker setting.
Compiler options
CCOPTS = -mv6600 --abi=eabi -q -mi10 -mo -pdr -pden -pds=238 -pds=880 -pds1110 --program_level_compile -o3 -g --optimize_with_debug
$(TI_BIN_CGTOOLS)/cl6x.exe -mv6600 --abi=eabi $(CCOPTS) --disable_push_pop --gen_acp_raw --compile_only --display_error_number --diag_warning=225 --diag_wrap=off --cmd_file="$(VOB_ROOT_REL)/project/udp6654/cfg/udp6654/compiler.opt" -i$(VOB_ROOT_DIR)/project/udp6654/inc/sysbios
Linker options
$(TI_BIN_CGTOOLS)/cl6x.exe --abi=eabi --run_linker --display_error_number -mv6600 --reread_libs --run_abs --absolute_exe --rom_model --trampolines=on
Thank in advance
George