We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

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 05/21/2014
Status Archive
Type General Article