Building cross gcc for m68k-coff on x86 Solaris 2.5.1

Manjunath B.S. manjunathb@ascend.com
Wed Oct 18 02:00:00 GMT 2000


Hi,
	I am building a cross gcc for m68k-coff on x86 Solaris 2.5.1. 

I followed all the directions as in Cross GCC FAQ but ended up with 
errors:
I am not using a one pass installation and have directories for gcc, 
binutils etc..

/c/newcf1/manjunathb/tars/build-gcc
                          build-binutils/

                                 ... and more/

After this: 

cd build-binutils
../binutils-2.9/configure  --target=m68k-ascend-coff
make all
su
make all install

All the binutils programs were installed in /usr/local/bin

cd ../build-gcc
../egcs-1.1.2/configure \target=m68k-coff
make all

and make bounced a lot of Errors as below:

/c/newcf1/manjunathb/tars/build-gcc/gcc/xgcc 
-B/c/newcf1/manjunathb/tars/build-gcc/gcc/ -DCROSS_COMPILE -DIN_GCC    
-g -I./include  -I. -I../../egcs-1.1.2/gcc -I../../egcs-1.1.2/gcc/config \
-c ../../egcs-1.1.2/gcc/objc/hash.c -o objc/hash.o
In file included from ../../egcs-1.1.2/gcc/objc/hash.c:31:
../../egcs-1.1.2/gcc/objc/runtime.h:31: stdio.h: No such file or 
directory
../../egcs-1.1.2/gcc/objc/runtime.h:32: ctype.h: No such file or 
directory
In file included from ../../egcs-1.1.2/gcc/objc/runtime.h:38,
                 from ../../egcs-1.1.2/gcc/objc/hash.c:31:
include/objc/objc-api.h:33: stdio.h: No such file or directory
make[1]: *** [objc/hash.o] Error 1
make[1]: Leaving directory `/c/newcf1/manjunathb/tars/build-gcc/gcc'
make: *** [all-gcc] Error 2

Can you please direct me about this.

I am building Cross Gcc for an embedded system and I do not want 
'newlib'. The same thing above builds properly if I build it with 
newlib.

Can you please let me know what is to be done.

Thanking you,
Manjunath B.S.






------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com



More information about the crossgcc mailing list