This is the mail archive of the crossgcc@sourceware.cygnus.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more infromation.


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

m68k-elf-ar setup problem?


Help!

I've run into a snag while trying to compile a GCC cross compiler (for m68k)
using Cygwin32 Release B20.1 with make 3.78.1, and the  binutils snapshot from
2000-04-26. Somehow I seem to have a setup problem concerning m68k-elf-ar.
Here's the output:

target=m68k-elf
prefix=/usr/local
../bu0406/configure --target=$target --prefix=$prefix -v --exec-prefix=$prefix
[...stuff deleted...]
make all install
[...stuff deleted...]
../gcc-2.95.2/configure --target=$target --enable-languages=c,c++ --prefix=$pref
ix --exec-prefix=$prefix
[...stuff deleted...]
make all install
[...stuff deleted...]
cp ../../gcc-2.95.2/gcc/config/m68k/lb1sf68.asm libgcc1.S
for name in _mulsi3 _udivsi3 _divsi3 _umodsi3 _modsi3 _double _float _floatex
_eqdf2 _nedf2 _gtdf2 _gedf2 _ltdf2 _ledf2 _eqsf2 _nesf2 _gtsf2 _gesf2 _ltsf2
_lesf2; \
do \
  echo ${name}; \


/usr/build-gcc/gcc/xgcc -B/usr/build-gcc/gcc/ -B/usr/local/m68k-elf/bin/ -I/usr/
local/m68k-elf/include -O2  -DCROSS_COMPILE -DIN_GCC     -g -O2 -I./include -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; \
  m68k-elf-ar rc tmplibgcc1.a ${name}.o; \
  rm -f ${name}.o; \
done
_mulsi3
/bin/sh: m68k-elf-ar: command not found
_udivsi3
/bin/sh: m68k-elf-ar: command not found
[...stuff deleted...]
rm -f libgcc1.S
mv tmplibgcc1.a libgcc1-asm.a
mv: tmplibgcc1.a: No such file or directory
make[1]: *** [libgcc1-asm.a] Error 1
make[1]: Leaving directory `/usr/build-gcc/gcc'
make: *** [all-gcc] Error 2

Tried older binutil versions before which produced the same result. I verified
that the m68k-elf-ar.exe file is present in at least one of the directories
indicated by xgcc --print-search-dirs. Hmmm. Any ideas as to what kind of setup
mistake I made?

Ralf.
ralf.doewich@cybercube.com


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


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