This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to generate the LIBGCC.A for mc68000
"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