Date: Sun, 26 Jan 2003 17:06:42 -0800 From: Jon Mini <mini@freebsd.org> To: David O'Brien <obrien@FreeBSD.org>, John Baldwin <jhb@FreeBSD.org>, Max Khon <fjoe@FreeBSD.org>, cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org, joseph <altea@attbi.com> Subject: Re: Compiling libc and libc_r broken with new compiler code gene Message-ID: <20030127010642.GI27470@elvis.mu.org> In-Reply-To: <20030126223020.GF23132@dragon.nuxi.com> References: <20030124020731.B4730@FreeBSD.org> <XFMail.20030124125441.jhb@FreeBSD.org> <20030126223020.GF23132@dragon.nuxi.com>
next in thread | previous in thread | raw e-mail | index | archive | help
David O'Brien [obrien@FreeBSD.org] wrote : > On Fri, Jan 24, 2003 at 12:54:41PM -0500, John Baldwin wrote: > > > you should use -lc_r in 5.x to link pthreads in > > > (or -lpthread when it will be ready, notice an 'l' after '-') > > > -pthread (which should be used in 4.x and earlier to link pthreads in) > > > is a no-op in 5.x afaik > > > > -pthread still works in 5.x. It basically means -lc_r on 5.x. > > If anyone has alternate views on how -pthread works in 5.x, please say. > I just follow the direction of the wind on this particular topic. "-pthread" should be specified until be deprecate it. That way we can switch over relatively easily by changing the resolution of the -pthread alias. Later, when libc_r is just a glimmer in the minds of old dodders, we can deprecate -pthread in favor of -lpthread. -- Jonathan Mini <mini@freebsd.org> http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030127010642.GI27470>