This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

-g and -O2



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]