This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/49656] internal compiler error on Mac OS 10.7.0
- From: "andreas at galauner dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 13 Jul 2011 22:09:14 +0000
- Subject: [Bug target/49656] internal compiler error on Mac OS 10.7.0
- Auto-submitted: auto-generated
- References: <bug-49656-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49656
--- Comment #3 from andreas at galauner dot de 2011-07-13 22:09:11 UTC ---
I just compiled GCC 4.6.1 again without clang after I found out how to do that.
By defining
CC = /usr/bin/gcc-4.2
CPP = /usr/bin/cpp-4.2
CXX = /usr/bin/g++-4.2
LD = /usr/bin/gcc-4.2
before the configure step the Apple GCC is used for compilation.
If you don't do that, clang will be used on Mac OS with XCode >4 and this leads
to this "internal compiler error".
So, it doesn't seem to be a GCC issue.