Question on nptl/crt[in].o building and usage in glibc.

Alexandre Oliva aoliva@redhat.com
Mon Nov 14 17:03:00 GMT 2005


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}



More information about the Libc-alpha mailing list