This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
libc behind the curtain
- From: "Metuki Sabhe" <sabhe dot metuki at gmail dot com>
- To: libc-alpha at sourceware dot org
- Date: Mon, 11 Jun 2007 11:40:30 +0300
- Subject: libc behind the curtain
hello all,
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 ? Where do they come from ?
(after I built glibc-2.5 I saw those files showed up in the build folder:
./csu/crti.S
./csu/crti.o
./csu/crt1.o
./csu/crtn.S
./csu/crtn.o
./nptl/crti.S
./nptl/crti.o
./nptl/crtn.S
./nptl/crtn.o
)
thank you !!
Metuki