GCC: Cross Compiler

Lukas Ruf ruf@tik.ee.ethz.ch
Tue Dec 14 11:11:00 GMT 1999


Dear list,

Pre-Note: uname = SunOS 5.5.1 

while trying to install a cross compiler with host=sunos and
target=mips-idt-ecoff I always receive the same error message:
  xgcc: installation problem, cannot exec `mips-tfile': No such file or
  directory
  gmake[1]: *** [libgcc1-asm.a] Error 1
  gmake[1]: Leaving directory `/scratch/ruf/gcc-2.95.1/b-mips/gcc'
  gmake: *** [all-gcc] Error 2

If I try to build mips-tfile for the sun environment, I receive the
following list of errors (shortened):
  /scratch/ruf/gcc-2.95.1/b-solaris/gcc!109> gmake mips-tfile
  gcc -c  -DIN_GCC -DHAIFA  -DSVR4  -g  -DHAVE_CONFIG_H    -I. -I../../gcc
  -I../../gcc/config -I../../gcc/../include ../../gcc/mips-tfile.c
  ../../gcc/mips-tfile.c: In function `xmalloc':
  ../../gcc/mips-tfile.c:5677: `HOST_PTR_PRINTF' undeclared (first use in
  this function)
[...]
  ../../gcc/mips-tfile.c: At top level:
  ../../gcc/mips-tfile.c:5751: syntax error before `char'
  ../../gcc/mips-tfile.c:5767: syntax error before `char'
  gmake: *** [mips-tfile.o] Error 1

If I then try to build it from within the target mips configure
directory, I receive the other error messages:
  /scratch/ruf/gcc-2.95.1/b-mips/gcc!115> gmake mips-tfile
  gcc -c -DCROSS_COMPILE -DIN_GCC   -DSVR4  -g  -DHAVE_CONFIG_H    -I.
  -I../../gcc -I../../gcc/config -I../../gcc/../include
  ../../gcc/mips-tfile.c
  ../../gcc/mips-tfile.c:673: mips/a.out.h: No such file or directory
  gmake: *** [mips-tfile.o] Error 1

So, my beg to this list: If anyone knows how to overcome this problem,
please let me know.

Thanks in advance.

Kind regards,

Lukas


More information about the Gcc-help mailing list