This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Re: cannot find crt0.o/-lc


Hi Andreas,
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[1] 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.

Cheers
  Nick Clifton

[1] eg glibc, newlib, uclibc,

http://ieee.uwaterloo.ca/coldfire/gcc-doc/docs/porting_1.html
http://www.uclibc.org/


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