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]

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


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