This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Question on nptl/crt[in].o building and usage in glibc.
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: "Steven J. Hill" <sjhill at realitydiluted dot com>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Mon, 14 Nov 2005 15:03:07 -0200
- Subject: Re: Question on nptl/crt[in].o building and usage in glibc.
- References: <4377D775.1080602@realitydiluted.com>
On Nov 13, 2005, "Steven J. Hill" <sjhill@realitydiluted.com> wrote:
> I have reached total frustration with the makefiles and build rules
> for nptl libpthread. Where do the files 'nptl/crt[in].o' ever get
> used? I have complete build log of my toolchain for MIPS, I know
> that the my final 'libpthread.so' contains the code from the crt
> files, but I do not see anything in the output during the build that
> uses these files.
Note the -B$(common-objpfx)nptl/ in extra-B-pthread.so. This gets GCC
to look for crt object files in the nptl dir.
--
Alexandre Oliva http://www.lsd.ic.unicamp.br/~oliva/
Red Hat Compiler Engineer aoliva@{redhat.com, gcc.gnu.org}
Free Software Evangelist oliva@{lsd.ic.unicamp.br, gnu.org}