This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/50342] gcc/configure fails on Mac OS X Lion/Xcode 4.1 with recent GCCs
- From: "simon at pushface dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 07 May 2012 21:13:48 +0000
- Subject: [Bug bootstrap/50342] gcc/configure fails on Mac OS X Lion/Xcode 4.1 with recent GCCs
- Auto-submitted: auto-generated
- References: <bug-50342-4@http.gcc.gnu.org/bugzilla/>
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