Problem to install GCC 4.6.0 with Objective-C language
Ian Lance Taylor
iant@google.com
Sat May 14 06:44:00 GMT 2011
Germán Arias <german@xelalug.org> writes:
> Hi, I'm trying to install GCC 4.6.0 on my gNewSense delta H. So I
> install almost all requirements from source, except PPL and CLoog-PPL
> (are these necessary?). The configuration seems OK, but with "make" I
> get the error (I downloaded the objc tarball separately and copied the
> Objective-C files into the gcc folder, I suppose this is the correct
> way.):
The right way is to unpack the -core and the -objc tarball in the same
directory. Copying the files may achieve that as well.
>
> /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
>
>
> Any advice? Thanks in advance.
The type should be defined in the file gcc/c-family/c-objc.h. Does that
file exist? Does it define obj_ivar_visibility_kind?
Ian
More information about the Gcc-help
mailing list