This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem compiling gcc with m68k-elf target
- From: Bernhard Walle <Bernhard dot Walle at gmx dot de>
- To: gcc-help at gcc dot gnu dot org
- Date: Sat, 24 Jul 2004 18:25:52 -0000
- Subject: Problem compiling gcc with m68k-elf target
- Organization: -
Hello,
I'm trying to compile gcc 3.4.1 for the m68k-elf target. I use
following configure options:
PREFIX=/home/bwalle/devel/remdbg/install
./configure \
--target=m68k-elf \
--program-prefix=m68k-elf- \
--prefix=$PREFIX/ \
--mandir=$PREFIX/share/man \
--infodir=$PREFIX/share/info \
--enable-languages=c \
--with-gnu-as \
--with-gnu-ld \
--with-headers=`pwd`/../newlib-*/newlib/libc/include/ \
--disable-shared
Host system is GNU/Linux.
I get following error:
if [ -f stmp-dirs ]; then true; else touch stmp-dirs; fi
/home/bwalle/devel/remdbg/src/compiler/gcc-3.4.1/gcc/xgcc -B/home/bwalle/devel/remdbg/src/compiler/gcc-3.4.1/gcc/ -B/home/bwalle/devel/remdbg/install//m68k-elf/bin/ -B/home/bwalle/devel/remdbg/install//m68k-elf/lib/ -isystem /home/bwalle/devel/remdbg/install//m68k-elf/include -isystem /home/bwalle/devel/remdbg/install//m68k-elf/sys-include -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem ./include -g -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -I. -I. -I. -I./. -I./../include -m528x -DL_mulsi3 -xassembler-with-cpp -c ./config/m68k/lb1sf68.asm -o libgcc/m528x/_mulsi3.o
Assembler messages:
Error: unrecognized architecture specification `528x'
make[2]: *** [libgcc/m528x/_mulsi3.o] Fehler 1
make[2]: Leaving directory `/home/bwalle/devel/remdbg/src/compiler/gcc-3.4.1/gcc'
make[1]: *** [stmp-multilib] Fehler 2
make[1]: Leaving directory `/home/bwalle/devel/remdbg/src/compiler/gcc-3.4.1/gcc'
make: *** [all-gcc] Fehler 2
Can somebody help me?
Regards,
Bernhard
--