On Tuesday, October 16, 2012 11:23:41 AM UTC+3, Tim Schmielau wrote:
On Monday, October 15, 2012 9:37:05 AM UTC+1, Joyce Wu wrote:
configure:4123: gcc -v >&5
Configured with: ../gcc-4.7-20120204/configure --enable-languages=c,c++,fortran
You appear to have a gcc installed somewhere that is not configured to support objective-C.
That should not be the problem, as Joyce is trying to build the Cocotron cross-compiler gcc, which doesn't require Objective-C. There is a long-standing problem with compiling gcc using Apple's standard llvm compiler, hence my tutorial's instructions to use another compiler instead to build gcc for Cocotron. Joyce appears to be using the "HPC" (
http://hpc.sourceforge.net/ ) gcc build, which has worked for me in the past.
Joyce, are you on Mountain Lion? If so, that might be the issue: the HPC GCC installer provided in my tutorial is perhaps not compatible with Mountain Lion (10.8 was not out when I wrote the tutorial).
On the HPC GCC page, they appear to have a build specifically for Mountain Lion:
It's the download labelled "gcc-mlion.tar.gz (4.8)". You could install this version of GCC and see if it works.