Compiling without -g

Andreas Schwab schwab@issan.informatik.uni-dortmund.de
Wed Jan 21 09:18:00 GMT 1998


Jonathan Buzzard <jab@hex.prestel.co.uk> writes:

|> I grabed a copy of egcs-1.0.1 in order to get a better C++ compiler than
|> gcc-2.7.2. However without going round editting all the Makefiles is
|> there anyway to stop it using the -g flag everywhere as I am a little
|> short on disk space. 

CFLAGS=-O2 ./configure  should do it.

-- 
Andreas Schwab                                      "And now for something
schwab@issan.informatik.uni-dortmund.de              completely different"
schwab@gnu.org



More information about the Gcc mailing list