This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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