
2 Feb
2005
2 Feb
'05
7:46 p.m.
In message 42010F95.4070709@smiths-aerospace.com you wrote:
Just the standard ones for debugging: -g for symbolic support.
This is default for U-Boot, so no change needed.
You may want to use -O0 to turn off optimization. The linux kernel
We never do this. You get used to see what the optimizer is doing - and actually this my be very important to know. We've been hunting a couple of problems (like missing "volatile" atributes) when switching from older versions of GCC to GCC-3.3 - turning off -O0 ould have made this impossible.
Best regards,
Wolfgang Denk
--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de
Actual war is a very messy business. Very, very messy business.
-- Kirk, "A Taste of Armageddon", stardate 3193.0