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]

mips64-unknown-elf


Dear Receiver(s),

My system is based on SuSE 6.0, i downloaded
binutils-2.9.1 and egcs-1.1.2.

I tried for binutils:
sh configure --prefix=/opt/lin-mips64 --target=mips64-unknown-elf
make
make install

Then i added /opt/lin-mips64/bin to the PATH.
(I edited /etc/profile and started another shell)

Then for egcs:
sh configure --prefix=/opt/lin-mips64 --target=mips64-unknown-elf
make
Error:
for name in _m16addsf3 _m16subsf3 _m16mulsf3 _m16divsf3 _m16eqsf2 _m16nesf2
_m16gtsf2 _m16gesf2 _m16lesf2 _m16ltsf2 _m16fltsisf _m16fixsfsi _m16adddf3
_m16subdf3 _m16muldf3 _m16divdf3 _m16extsfdf2 _m16trdfsf2 _m16eqdf2 _m16nedf2
_m16gtdf2 _m16gedf2 _m16ledf2 _m16ltdf2 _m16fltsidf _m16fixdfsi _m16retsf
_m16retdf _m16stub1 _m16stub2 _m16stub5 _m16stub6 _m16stub9 _m16stub10
_m16stubsf0 _m16stubsf1 _m16stubsf2 _m16stubsf5 _m16stubsf6 _m16stubsf9
_m16stubsf10 _m16stubdf0 _m16stubdf1 _m16stubdf2 _m16stubdf5 _m16stubdf6
_m16stubdf9 _m16stubdf10; \
do \
  echo ${name}; \
  /tmp/egcs-1.1.2/gcc/xgcc -B/tmp/egcs-1.1.2/gcc/ -O2  -DCROSS_COMPILE -DIN_GCC
   -g -O2 -I./include  -G 0 -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   -I.
-I. -I./config -c -DL${name} libgcc1.S; \
  if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  mv libgcc1.o ${name}.o; \
  mips64-unknown-elf-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 `/tmp/egcs-1.1.2/gcc'
make: *** [all-gcc] Error 2
schleim:/tmp/egcs-1.1.2 # 

Then i cd'ed to gcc.  mips-tfile is not there, a
"make mips-tfile" fails:
schleim:/tmp/egcs-1.1.2/gcc # make mips-tfile
gcc -c -DCROSS_COMPILE -DIN_GCC    -g  -DHAVE_CONFIG_H     -I. -I. -I./config
mips-tfile.c
mips-tfile.c:707: mips/a.out.h: No such file or directory
make: *** [mips-tfile.o] Error 1

And that's right, a.out.h is not there, if i take
a.out.h from /usr/src/linux/include/asm-mips/a.out.h
it does not work.

I tried several documents but didn't find a solution.  Did i miss
something?



Best Regards,
Torsten.


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