4 ms·
The standard `./configure && make && make install` shouldn't be un-easy
by andrus 15y ago
The standard `./configure && make && make install` shouldn't be un-easy
- 4ad 15y agoGCC can't be compiled by the LLVM compiler shipped with Mac OS X.
- pdhborges 15y agoI built GCC 4.6.3 with GCC 4.2 using the LLVM backend without any problem.
- ssmall 15y agoI thought gcc built its own bootstrap compiler to do the heavy lifting of the build. Can LLVM not build the bootstrap compiler or was I mistaken in thinking this?
- andrus 15y agoThe bootstrap process for gcc involves first building gcc with an existing C compiler, then rebuilding gcc from this first build [1]. I'm still waiting for my build to finish, but i686-apple-darwin11-llvm-gcc-4.2 seems to be handling the gcc 4.7 source fine. [1] http://gcc.gnu.org/install/build.html http://gcc.gnu.org/install/build.html
- ssmall 15y agoAh for some reason I had in my head the bootstrap was a smaller, simpler compiler. Thanks for the link and clarification.
- andrus 15y agoActually, I just confirmed that i686-apple-darwin11-llvm-gcc-4.2 compiles gcc 4.7 I don't know what other versions of llvm-gcc are shipped with Mac OS X
- duaneb 15y agoMac OS X also ships with a non-compiler version of gcc, i.e. `gcc-4.2` on lion.