^

AR# 24779 11.1 EDK - Removing the -g compiler option in the Software Platform Settings seems to have no effect

If I do not want to have debugging information passed into my executable, how can I make sure that the -g option is not passed?

When I remove this setting in the Software Platform Settings dialog, the log shows that the -g was still passed.

The EXTRA_COMPILER_FLAGS field needs to have an option. When no options are present, the compiler defaults to the -g option.

To work around this problem, pass another option that you know you will be using, such as an optimization level (-O0, -O1, etc.).

AR# 24779
Date Created 09/04/2007
Last Updated 12/15/2012
Status Active
Type General Article
Feed Back