-g and -O2

The Chazman chaz@devastator.extern.ucsd.edu
Sat Apr 1 00:00:00 GMT 2000


Hi, folks, just one quick question I'd like to get clarified...

Does throwing -g on the gcc command line affect optimization in any way?
Is there any reason at all not to use -g even in release builds of
embedded code where only the .text and .data sections will get burned
into flash anyway?  Thanks for your thoughts...


-------------------------------------------
Carl Miller               Firmware Engineer
chaz@gordian.com              Gordian, Inc.
(714) 850-0205       http://www.gordian.com

[ I'm subscribed to the list with my personal e-mail address: ]
[ chaz@devastator.extern.ucsd.edu                             ]

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list