Date: Mon, 19 Jul 2004 11:16:52 -0400 (EDT) From: Robert Watson <rwatson@freebsd.org> To: deischen@freebsd.org Cc: threads@freebsd.org Subject: Re: A way to build and install libpthread as 1:1 as well as M:N? Message-ID: <Pine.NEB.3.96L.1040719111516.50673B-100000@fledge.watson.org> In-Reply-To: <Pine.GSO.4.10.10407181234540.28820-100000@pcnet5.pcnet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 18 Jul 2004, Daniel Eischen wrote: > > The issue here is my keeping everything in sync and making sure testing is > > reproduceable. If I'm manually building and installing threading > > libraries, I'm likely to screw it up. I was hoping for a mechanism in > > buildworld/installworld so that it all happens automatically, reducing the > > chances of user error, stale library versions, etc. > > Well, like I said, if we can agree on a place to put the 1:1 version and > what to call it, we can make it happen. My suggestion is to keep the > libraries named the same, install them in different places, and use > LD_LIBRARY_PATH to switch between them. > > Should I just do it, or is more discussion needed? Other than the need for something like it, I don't have much opinion on the mechanism by which it's accomplished. I think that what you suggest sounds pretty reasonable to me. I'd be fine with a libpthread11, a lib/foo/libpthread, or whatever makes the most sense to you. I guess maybe I have a slight preference for libpthread11, but agree that the benefits of being able to use LD_LIBRARY_PATH are substantial and probably more important than the slight asthetic preference. Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Principal Research Scientist, McAfee Research
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040719111516.50673B-100000>