This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
compile newlib for m68k
- From: Heiko --- <tomtegubbar99 at yahoo dot de>
- To: newlib at sourceware dot org
- Date: Thu, 14 Sep 2006 20:47:30 +0200 (CEST)
- Subject: compile newlib for m68k
Hello everybody,
I want to compile newlib for m68k-elf (Atari Falcon
with 68030 + 68882) and I get the following error:
m68k-elf-gcc
-B/home/ossi/crossgcc/newlib_build/m68k-elf/newlib/
-isystem
/home/ossi/crossgcc/newlib_build/m68k-elf/newlib/targ-include
-isystem /home/ossi/crossgcc/src/newlib/libc/include
-O2 -g -I. -I../../../../src/libgloss/m68k/.. `if [
-d ./../../newlib ]; then echo
-I./../../newlib/targ-include
-I../../../../src/libgloss/m68k/../../newlib/libc/include;
fi` -I. -I../../../../src/libgloss/m68k/.. -c
../../../../src/libgloss/m68k/bdm-semihost.c -o
bdm-semihost.o -fomit-frame-pointer
/tmp/cctVKGfb.s: Assembler messages:
/tmp/cctVKGfb.s:20: Error: invalid instruction for
this architecture; needs 68060 or 5200 or 5206e or
521x or 5249 or 528x or 5307 or 5407 or 547x or 548x
-- statement `halt' ignored
make[3]: *** [bdm-semihost.o] Fehler 1
I configured newlib as follows:
#!/bin/sh
../src/configure \
--prefix=$HOME/m68k-atari-linux-gnu \
--host=i686-pc-linux-gnu \
--target=m68k-elf \
Can anyone give me a hint what I did wrong please? Do
I have to specify a CPU? Google couldn't really help
:-(
Greetings
Heiko
___________________________________________________________
Telefonate ohne weitere Kosten vom PC zum PC: http://messenger.yahoo.de