Re: [uClinux-dev] Building m68k-elf

From: Andrew Kohlsmith (akohlsmith@benshaw.com)
Date: Thu Jan 18 2001 - 22:19:12 EST


> I think so, I can't recall exactly what the error was right now.
> But it looks like you have the compile, which after a "make install"
> should be enough to build uC-libc.

I've included the output from "make LANGUAGES=c install" -- xgcc *does*
exist (as well as cc1 and all the other bins) but it just won't install
because the assembler doesn't like the chip requested.

The relevant part:

/opt/uClinux/gcc-2.95.2/m68k-elf/gcc/xgcc -B/opt/uClinux/gcc-2.95.2/m68k-elf
/gcc/ -B/usr/local/m68k-elf/bin/ -I/usr/local/m68k-elf/include -DCROSS_COMPI
LE -DIN_GCC     -g -O2 -I./include  -I. -I../../gcc -I../../gcc/config -I../
../gcc/../include  -g0 \
  -finhibit-size-directive -fno-inline-functions -fno-exceptions  \
  -c ../../gcc/crtstuff.c -DCRT_BEGIN -o crtbegin.o
as: unrecognized option `-c68020'
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/opt/uClinux/gcc-2.95.2/m68k-elf/gcc'
make: *** [install-gcc] Error 2

I've played around with the specs file but then the error changes to "as:
unrecognized option `-68020'" even though I specifiy "-m68020" and then
tried "-mm68020" (the original is "-mc68020").

So it seems that I do have an error, it's just not the right one.  :-)

Regards,
Andrew


This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/

This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:26 EDT