How to generate the LIBGCC.A for mc68000
Ian Lance Taylor
ian@airs.com
Thu Dec 16 16:45:00 GMT 2004
"Pascal Chaperon" <pascal.chaperon@sectrad.fr> writes:
> I have got an error in the linker :
> it is deplayed in french but in english it should be somethink like that :
>
> ../m68k-coff/bin/ld: unable to find -lc
> collect2: ld has returned 1 error code
Use -nostdlib when you link. See the docs.
Of course this will only work if you really do not need libc. It
provides functions like printf, malloc, etc. libc is not provided by
gcc.
Ian
More information about the Gcc
mailing list