How to compile gcc-4.0 on Mountain Lion
Posted
by
Frizlab
on Super User
See other posts from Super User
or by Frizlab
Published on 2012-11-03T05:07:16Z
Indexed on
2012/11/03
17:08 UTC
Read the original article
Hit count: 183
osx-mountain-lion
|gcc
So far I've successfully launched the configure, but when I type make, I get the following error, after some time (there's a lot which compile successfully):
ld: unknown/unsupported architecture name for: -arch i686 /usr/bin/libtool: internal link edit command failed make[2]: *** [libgcc_s.dylib] Error 1 make[1]: *** [libgcc.a] Error 2 make: *** [all-gcc] Error 2
Is there a way to tell gcc not to compile itself for the i686 architecture?
Here's my uname -a
if it can help:
Darwin Frizlabs-Computer.local 12.2.0 Darwin Kernel Version 12.2.0: Sat Aug 25 00:48:52 PDT 2012; root:xnu-2050.18.24~1/RELEASE_X86_64 x86_64
PS: I know gcc-4.0 is ancient, but I do need it.
© Super User or respective owner