This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Problem to install GCC 4.6.0 with Objective-C language
GermÃn Arias <german@xelalug.org> writes:
> 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.
Use --disable-sjlj-exceptions when you run configure.
Ian