This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
where to find / how to rebuild crt1.c ...
- From: ken smith <ksquery at googlemail dot com>
- To: libc-help at sourceware dot org
- Date: Sun, 6 Dec 2009 17:39:59 +0000
- Subject: where to find / how to rebuild crt1.c ...
Hi,
A colleague has a need to rebuild crt1.c on amd64 with
-fno-omit-frame-pointer added to CFLAGS. I am not familiar with glibc
(neither is he) - and assumed that the source for this would be part
of the distribution; apparently not.
Where can I get the source for crt1.c?
Does crt1.c contain more than a routine called by the startup
initialization code form the C library?
If I rebuild crt1.c, is there a recommendation on how best to set up a
development machine to use the replacement over the original. Is there
a config setup for gcc (if yes, fine since for other reasons we have
built a static-link tool chain)?
Many thanks.
machine is: 2.6.18-53.1.19.el5 #1 SMP, x86_64 x86_64 x86_64 GNU/Linux
and the gcc source I'm working with is 4.4.0.