Re: changing the default compilers for autoconf

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 17 Sep 2007, Eric Blake wrote:

If autoconf detects that you are using gcc, but did not specify CFLAGS,
then it defaults CFLAGS to '-g -O2'.  But for other compilers, autoconf
doesn't generally know enough about your compiler to assume any set of
default flags.  So I don't know what you are worried about.  Beyond that,

It's more than that.  Setting the flags to -g is a policy decision made
in the mid-90's based on the claim that setting the optimization flag
in any compiler other than gcc would expose bugs in that compiler.

(the claim of course is incorrect, but there's no point in discussing it
on this mailing list)

--
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf

[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux