Date: Wed, 07 Feb 1996 16:23:10 -0800 From: John Polstra <jdp@polstra.com> To: Christopher Provenzano <proven@MIT.EDU> Cc: Peter Wemm <peter@jhome.dialix.com>, "Rodney W. Grimes" <rgrimes@gndrsh.aac.dev.com>, bde@zeta.org.au (Bruce Evans), CVS-committers@freebsd.org, cvs-lib@freebsd.org, nate@sri.MT.net Subject: Re: cvs commit: src/lib/csu/i386 crt0.c Message-ID: <199602080023.QAA06783@austin.polstra.com> In-Reply-To: Your message of "Tue, 06 Feb 1996 13:45:56 EST." <9602061845.AA10935@yaz-pistachio.MIT.EDU>
next in thread | previous in thread | raw e-mail | index | archive | help
Christopher Provenzano wrote: > OK, why are people worried about the c library. It's only the thread > libraries that need to worry about the constructor. If threads > aren't used then the C library links in stupid stubs which won't > need a constructor and therefore c++rt0.o won't be needed. > > No hacking should be necessary to continue to make the build tree > work currently. It should only take extra work to add support for > programs that want to link -lpthread or -luthread or > -lwhateverotherthreadlibraryyouwant. Oh -- I guess you're right. I was under the mistaken impression that the threads stuff had been integrated into the mainstream "libc". I see now that it's a separate library. So, once the call to _thread_init() is moved out of crt0.o and into a constructor within the threads library itself, then libc won't be a problem any more. Sorry if I misled anyone before. -- John
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199602080023.QAA06783>