output messages

Ian Lance Taylor iant@google.com
Tue Nov 16 22:08:00 GMT 2010


kevin diggs <diggskevin38@gmail.com> writes:

> Ain't not no autogen on this system. What is it? A successor to automake?

http://www.gnu.org/software/autogen/


>>> I can't even get rid of debug information for a 4.3.5 build.
>>
>> If bootstrapping:
>>    make BOOT_CFLAGS="-O2"
>> If not bootstrapping (i.e., building a cross-compiler):
>>    make CFLAGS="-O2"
>>
> I have admittedly been hacking and chopping on various configure
> script and Makefile parts and could have messed something up ... but
> .....
>
> Wait I have been defining these only when I run configure. Are you
> saying I need to pass them on the actual make command?

You can put CFLAGS on the configure line, but BOOT_CFLAGS must be
specified on the make line.


> Any thoughts on adding support for the configure machinery
> {--enable-|--disable-}feature option for debug:   --disable-debug.
> This would save people the hassle of trying to remember when to omit
> -g and from what to omit it from?

Sounds OK to me in principle.  I don't think --disable-debug would be a
good name, perhaps --disable-build-with-debug-info.

Ian



More information about the Gcc-help mailing list