Problem to install GCC 4.6.0 with Objective-C language
Germán Arias
german@xelalug.org
Sat May 21 08:32:00 GMT 2011
On jue, 2011-05-19 at 22:29 -0700, Ian Lance Taylor wrote:
>
> That makes it sound as though you did not download the gcc-objc tarball,
> or that you did not unpack it correctly. Does the directory gcc/objc
> exist? Does the file gcc/objc/config-lang.in exist?
>
> Ian
Well, I tried again extracting the gcc-core and gcc-objc tarball (from
the shell) and with:
../gcc-4.6/configure
make
I get the error (this time the objc language is detected):
/bin/bash ../../gcc-4.6.0/gcc/../move-if-change tmp-gi.list
gtyp-input.list
echo timestamp > s-gtyp-input
build/gengtype \
-S ../../gcc-4.6.0/gcc -I gtyp-input.list -w
gtype.state
../../gcc-4.6.0/gcc/objc/objc-act.h:280: unidentified type
`objc_ivar_visibility_kind'
make[3]: *** [s-gtype] Error 1
make[3]: Leaving directory `/home/german/Instalados/GCC/objdir/gcc'
make[2]: *** [all-stage1-gcc] Error 2
make[2]: Leaving directory `/home/german/Instalados/GCC/objdir'
make[1]: *** [stage1-bubble] Error 2
make[1]: Leaving directory `/home/german/Instalados/GCC/objdir'
make: *** [all] Error 2
I verified that each file in the gcc-objc tarball is extracted, and are
there. So, I downloaded the full gcc tarball and I compiled it
successfully with:
../gcc-4.6.0/configure --enable-languages=c,lto,objc
make
I don't know if the problem is the objc tarball or a problem with my
previous GCC compiler. Because one of the reasons I wanted update my
compiler, was an internal error in the compiler when I tried install
some packages (i.e: guile 2.0.1). But I don't have idea. So thanks for
your help.
More information about the Gcc-help
mailing list