This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/50342] gcc/configure fails on Mac OS X Lion/Xcode 4.1 with recent GCCs


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]