How to turn off debug info in Compilation

Dayal
Hi,

I am working on No OS program compiled by ADS compiler.
The BIN file generated is larger in size(approx 139Kb) than i expected for
my application.
I found number of Debug info in compiled object files which makes it's size
large.So as a solution i want to turn off debug info during compilation.
I found in other GCC compiler it was working after removing '-g' flag. Is
there any solution to off all debug info in my environment(code in C
compiled over ADS).

Regards
Dayal rai

Juergen Beisert
Take a look into the manual of the command "strip". You can left the debug
info while compiling. Remove it at the end with "strip" command.

brox
Also keep in mind there are several build targets, perhaps you have chosen
Debug or DebugRel targets. Try Release target instead