This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Compiling without -g flag
- From: <kevin_lemay at agilent dot com>
- To: <ecos-discuss at sources dot redhat dot com>
- Date: Fri, 16 Jan 2004 17:05:04 -0700
- Subject: [ECOS] Compiling without -g flag
I tried to use the --disable-debug option on the ecosconfig command line when I generated my project, but the generated makefiles still have the -g option when they are run. I also tried to edit the .ecc file and removed the -g from the global options and it still uses -g when it builds.
How do I get an optimized build without the debug information?
I am using an i386 platform. Performance is compariable to vxWorks (slightly lower), but I want to see what happens when I remove the debug info.
Thanks,
Kevin
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss