From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Martin v. Loewis" To: cjk@rampnet.com Cc: gcc-help@gcc.gnu.org Subject: Re: Need help cross compiling Date: Sat, 01 Apr 2000 00:00:00 -0000 Message-ID: <200003011915.UAA00865@loewis.home.cs.tu-berlin.de> References: <000b01bf839b$fb647ea0$42b7f7d0@cjk.hyd.rampnet.com> X-SW-Source: 2000-q1/msg00315.html Message-ID: <20000401000000.n7Wo9PNBA4K4OPsPI9e7jv-wukPiDnfUICV76vPFfPs@z> > 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 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