Need help cross compiling

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Wed Mar 1 11:36:00 GMT 2000


> I am trying to cross compile gcc-2.8.0 for target m68k-wrs-vxworks=20
> on host i386 running solaris2.7. I have successfully compiled and
> installed binutils 2.9. But gcc building gives the following error.
> 
> Anyhelp in this regard will be appreciated.

To build a working cross-compiler, you need header files and libraries
for the target as well; see the GCC installation manual for
details. In the specific case, the Objective C library needs <stdio.h>
of the target system, and could not find it - most likely because it
is not there.

If you don't have stdio.h for the target system, you probably cannot
build the Objective C library. Perhaps you don't need the Objective C
compiler - in that case, I'd recommend not to build it. You can
specify the languages to build with the --enable-languages configure
option.

Hope this helps,
Martin



More information about the Gcc-help mailing list