Selecting from several m68k libc.a

Vitus Jensen Vitus_Jensen@gmx.de
Mon Apr 19 23:39:00 GMT 2004


Hej!

In my build there are several libc.a (and libm.a, libhwdos.a) created and
installed:

T:\C\coldfire\gcc-m68k\m68k-coff\lib\libc.a
T:\C\coldfire\gcc-m68k\m68k-coff\lib\m5200\libc.a
T:\C\coldfire\gcc-m68k\m68k-coff\lib\m68000\libc.a
T:\C\coldfire\gcc-m68k\m68k-coff\lib\mcpu32\libc.a
T:\C\coldfire\gcc-m68k\m68k-coff\lib\msoft-float\libc.a

All different :-(

Using the following linker commands:
STARTUP(hwdos-crt0.o)
OUTPUT_ARCH(m68k)
OUTPUT_FORMAT(srec)
SEARCH_DIR(m68000)
SEARCH_DIR(m68k)
GROUP(-lc -lhwdos)

T:\C\coldfire\gcc-m68k\m68k-coff\lib\libc.a is used.  But this libc.a seems
to be created for a different MC68000 brand than DragonBall, I ran into a
"tst a1" opcode which isn't supported.

So I would like to try other libcs.  Something compiled for the original
MC68000.  Which one is it?  And how do I tell the linker to use it?

Thank you for your help,
    Vitus

PS: simply copying the file is no solution :-((

-- 
Dipl-Ing Vitus Jensen
Tischlerstr. 8, D-30916 Isernhagen
Tel +49-5136-893002, Fax +49-5136-893003



More information about the Newlib mailing list