This is the mail archive of the
mailing list for the GCC project.
GCC 4.7 compiles with llvm-gcc-4.2 but not with GCC 4.6.2
- From: Hans Aberg <haberg-1 at telia dot com>
- To: GCC Development list <gcc at gcc dot gnu dot org>
- Date: Mon, 16 Jan 2012 14:55:42 +0100
- Subject: GCC 4.7 compiles with llvm-gcc-4.2 but not with GCC 4.6.2
[I am not on this list, so please cc me.]
On OS X 10.7.2, gcc (GCC) 4.7.0 20120115 from SVN compiles using the /usr/bin/gcc -> llvm-gcc-4.2 that is installed by Xcode 4.2.1.
But if one first compiles GCC 4.6.2 using the same LLVM-GCC, then this GCC 4.7 will not compile; there is a configure error:
checking for long long... yes
checking size of long long... configure: error: in `/usr/local/src/gcc/gcc/host-x86_64-apple-darwin11.2.0/gcc':
configure: error: cannot compute sizeof (long long)
See `config.log' for more details.
The config.log of this directory just indicates a program doing the check that will fail (now overwritten by new ./configure && make).