This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Mips Cross Compiling Problem


Hi,

I think gcc is broken when
cross compiling for mips-elf. It has a problem
with mips-tfile. It does'nt make it but tries to
run it. If I try to manualy make it, it fails with
can't include 'a.out.h'.

Versions
- -------
binutils-2.9.1
gcc-2.95.2

Error
- ----
  echo ${name}; \
  /home/colinf/compiler/gcc/build-gcc/gcc/xgcc
- -B/home/colinf/compiler/gcc/build-gcc/gcc/ -B/cross/mips/bin/
- -I/cross/mips/include -O2  -DCROSS_COMPILE -DIN_GCC     -g -O2
- -I./include  -G 0 -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I.
- -I../../gcc-2.95.2/gcc -I../../gcc-2.95.2/gcc/config
- -I../../gcc-2.95.2/gcc/../include -c -DL${name} libgcc1.S; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  mv libgcc1.o ${name}.o; \
  mips-ar rc tmplibgcc1.a ${name}.o; \
  rm -f ${name}.o; \
done
_m16addsf3
xgcc: installation problem, cannot exec `mips-tfile': No such file or
directory
make[1]: *** [libgcc1-asm.a] Error 1
make[1]: Leaving directory `/home/colinf/compiler/gcc/build-gcc/gcc'
make: *** [all-gcc] Error 2

target=mips-elf
prefix=/cross
host=i686 (linux)

I compiled a programe that just returns zero and managed
to keep the compilation going, (named mips-tfile).

Cheers,
Col.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]