This is the mail archive of the
mailing list for the binutils project.
Re: cannot find crt0.o/-lc
I found out that the error with -lc is connected with the libc and
that the crt0.o is an initialisation file.
So where and how should i describe this files?
libc is the C library. This is usually created by porting one of the C
library implementations to your particular target.
crt0.o is an initialization file. There are often other initialization
files like crt1.o and crtbegin.o. The choice is target specific. You
will have to write the source for these files yourself, but you could
take a look at the libgloss library sources for examples of how this has
been done for other targets.
 eg glibc, newlib, uclibc,