[Bug bootstrap/50342] gcc/configure fails on Mac OS X Lion/Xcode 4.1 with recent GCCs
simon at pushface dot org
gcc-bugzilla@gcc.gnu.org
Mon May 7 23:09:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50342
--- Comment #9 from simon at pushface dot org 2012-05-07 21:13:48 UTC ---
(In reply to comment #8)
> $srcdir/configure CC="gcc -D_FORTIFY_SOURCE=0”
Unfortunately doing this means that “gcc -v” with the built compiler contains
the ‘CC="gcc -D_FORTIFY_SOURCE=0”’ text in the Configured with: line, which
confuses gprconfig (part of AdaCore’s gprbuild tool). So the way I’ve adopted
for 4.7.0 is to start by
$ export CC="gcc -D_FORTIFY_SOURCE=0”
$ $srcdir/configure ...
$ make
More information about the Gcc-bugs
mailing list