Build crossgcc for mips64-linux

Jan-Hendrik Palic palic@billgotchy.de
Sat Oct 5 19:35:00 GMT 2002


Hi ... 

I am trying to build a cross-toolchain for mips64-linux and I got this
after building binutils (HEAD) and gcc-3.2.x or gcc-head:

/home/palic/Files/Projekte/crossbuild/cvs/gcc/mips64-linux/gcc/xgcc
-B/home/palic/Files/Projekte/crossbuild/cvs/gcc/mips64-linux/gcc/
-B/home/palic/Files/Projekte/crossbuild/toolchain//mips64-linux/bin/
-B/home/palic/Files/Projekte/crossbuild/toolchain//mips64-linux/lib/
-isystem
/home/palic/Files/Projekte/crossbuild/toolchain//mips64-linux/include
-O2 -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings
-Wstrict-prototypes -Wmissing-prototypes -isystem ./include  -I. -I.
-I../../gcc/gcc -I../../gcc/gcc/. -I../../gcc/gcc/config
-I../../gcc/gcc/../include  -g0 -finhibit-size-directive
-fno-inline-functions -fno-exceptions  \
   -c ../../gcc/gcc/crtstuff.c -DCRT_BEGIN \
     -o crtbegin.o
In file included from ../../gcc/gcc/crtstuff.c:62:
../../gcc/gcc/tsystem.h:63:19: stdio.h: No such file or directory
../../gcc/gcc/tsystem.h:66:23: sys/types.h: No such file or directory
../../gcc/gcc/tsystem.h:69:19: errno.h: No such file or directory
../../gcc/gcc/tsystem.h:76:20: string.h: No such file or directory
../../gcc/gcc/tsystem.h:80:20: stdlib.h: No such file or directory
../../gcc/gcc/tsystem.h:81:20: unistd.h: No such file or directory
../../gcc/gcc/tsystem.h:87:18: time.h: No such file or directory
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory
`/home/palic/Files/Projekte/crossbuild/cvs/gcc/mips64-linux/gcc'
make: *** [all-gcc] Error 2

I configured gcc as:
../gcc/configure
--prefix=/home/palic/Files/Projekte/crossbuild/toolchain/
--target=mips64-linux --enable-languages=c
--with-headers=/home/palic/Files/Projekte/crossbuild/toolchain/mips64-linux/include

	Any hints?
		Jan
     

-- 
  .''`.    Jan-Hendrik Palic     |
 : :' : ** Debian GNU/ Linux **  |   ** OpenOffice.org **       ,.. ,..
 `. `'   http://www.debian.org   | http://www.openoffice.org  ,: ..`   `
   `-  jan.palic@linux-debian.de |                           '  `  `



More information about the Gcc-help mailing list