This is the mail archive of the gcc@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]

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).

Hans



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