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 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

> Where do they come from ? 

gcc's spec file ... run `gcc -dumpspecs`
-mike

Attachment: signature.asc
Description: This is a digitally signed message part.


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