Problem to install GCC 4.6.0 with Objective-C language
Germán Arias
german@xelalug.org
Wed May 18 20:18:00 GMT 2011
On lun, 2011-05-16 at 16:57 -0700, Ian Lance Taylor wrote:
> Germán Arias <german@xelalug.org> writes:
>
> > checking for suffix of object files... configure: error: in
> > `/home/german/Instalados/GCC/objdir/i686-pc-linux-gnu/libgcc':
> > configure: error: cannot compute suffix of object files: cannot compile
> > See `config.log' for more details.
> > make[2]: *** [configure-stage1-target-libgcc] Error 1
>
> http://gcc.gnu.org/wiki/FAQ#Configuration_fails_with_.27.27configure:_error:_cannot_compute_suffix_of_object_files:_cannot_compile.27.27._What_is_the_problem.3F
>
> Ian
Thanks, I solved this problem. But now I get:
checking for sched.h... yes
checking for thread model used by GCC... posix
checking whether the target supports thread-local storage... yes
checking for exception model to use... configure: error: unable to
detect exception model
make[1]: *** [configure-target-libobjc] Error 1
make[1]: Leaving directory `/home/german/Instalados/GCC/objdir'
make: *** [all] Error 2
config.log say:
configure:11454: result: yes
configure:11462: checking for exception model to use
configure:11493: /home/german/Instalados/GCC/objdir/./gcc/xgcc
-B/home/german/Instalados/GCC/objdir/./gcc/
-B/usr/local/i686-pc-linux-gnu/bin/ -B/usr/local/i686-pc-linux-gnu/lib/
-isystem /usr/local/i686-pc-linux-gnu/include
-isystem /usr/local/i686-pc-linux-gnu/sys-include -c -x objective-c
-fgnu-runtime -fobjc-exceptions -S conftest.c >&5
xgcc: error: language objective-c not recognized
xgcc: error: language objective-c not recognized
configure:11496: $? = 1
configure:11516: error: unable to detect exception model
I searched on Internet, but can't find a solution for this.
More information about the Gcc-help
mailing list