This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
unable to configure for m68k
- From: Bart Locanthi <bart at sabl dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Thu, 20 May 2004 20:37:24 -0700
- Subject: unable to configure for m68k
hi, i'm trying to build a cross-compiler on linux to target m68000, and
i think the coldfire variant.
however, when i try to configure/make it, i get a message about the
assembler not knowing about the 68020.
i've tried telling configure to only target the 68000 but that option
doesn't work for m68k.
here's one of many things i've tried:
% ./configure --prefix=/usr/local/68k --target=m68k-none-elf
--with-gnu-as --with-gnu-ld
% make
...
/usr/local/src/gcc-3.4.0/gcc/xgcc -B/usr/local/src/gcc-3.4.0/gcc/
-B/usr/local/68k/m68k-none-elf/bin/ -B/usr/local/68k/m68k-none-elf/lib/
-isystem /usr/local/68k/m68k-none-elf/include -isystem
/usr/local/68k/m68k-none-elf/sys-include -O2 -DIN_GCC -DCROSS_COMPILE
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wold-style-definition -isystem ./include -I. -I. -I. -I./.
-I./../include -g0 -finhibit-size-directive -fno-inline-functions
-fno-exceptions -fno-zero-initialized-in-bss -fno-unit-at-a-time \
-Dinhibit_libc -c ./crtstuff.c -DCRT_BEGIN \
-o crtbegin.o
as: unrecognized option `-mc68020'
make[1]: *** [crtbegin.o] Error 1
make[1]: Leaving directory `/usr/local/src/gcc-3.4.0/gcc'
make: *** [all-gcc] Error 2
suggestions welcome.