Tool/software: TI C/C++ Compiler
If the linker is linking the symbolic debug information by default, how can I remove those additional information in the final executable file.
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.
Tool/software: TI C/C++ Compiler
If the linker is linking the symbolic debug information by default, how can I remove those additional information in the final executable file.
Hi Jerry,
The mmWave SDK Demo makefiles include the common makefile mmwave_sdk.mak from <SDK_install_dir>\mmwave_sdk_01_00_00_05\packages\ti\common. You can remove symbolic debug information by removing the -g flag from R4F_CFLAGS (for the Cortex R4F) and C674_CFLAGS (for the DSP) as shown below:
# Compiler flags used for the R4 Builds:
R4F_CFLAGS = -mv7R4 --code_state=32 --float_support=VFPv3D16 --abi=eabi -me \
--define=SUBSYS_MSS --define=$(PLATFORM_DEFINE) --define=$(DOWNLOAD_FROM_CCS_DEFINE) \
--define=DebugP_ASSERT_ENABLED $(R4F_INCLUDE) -g -O3 -display_error_number \
--diag_warning=225 --diag_wrap=off --little_endian \
--preproc_with_compile --gen_func_subsections
# Compiler Flags for C674 Builds:
C674_CFLAGS = -mv6740 --abi=eabi --gcc -g -O3 -mo --define=SUBSYS_DSS --define=$(PLATFORM_DEFINE) \
--display_error_number --diag_warning=225 --diag_wrap=off --preproc_with_compile \
--define=DebugP_ASSERT_ENABLED \
$(C674_INCLUDE)
Regards
-Nitin