This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc 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: libc behind the curtain


On 6/11/07, Mike Frysinger <vapier@gentoo.org> wrote:
On Monday 11 June 2007, Metuki Sabhe wrote:
> when I build a simple C program, I see it is linked against:
>
> crt1.o
> crti.o
> crtbegin.o
> -lgcc
> -lgcc_s
> crtend.o
> crtn.o
>
> What are those files ?

the crt files are the C RunTime files while the -l libraries are internal gcc
libraries

does the gcc libraries add code to the final executable too ?


where can I read the sources for the C RunTime files (i didn't find any crt*
in glibc-2.5) ?

Thank You
Metuki


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