Date: Sun, 20 Sep 2009 23:45:31 +0200 (CEST) From: Gerald Pfeifer <gerald@pfeifer.com> To: "Jason J. Hellenthal" <jasonh@DataIX.net>, Loren James Rittle <rittle@labs.mot.com> Cc: ports@freebsd.org Subject: Re: Need to use some library path before /usr/lib Message-ID: <alpine.LSU.1.99.0909202328340.5359@acrux.dbai.tuwien.ac.at> In-Reply-To: <alpine.BSF.2.00.0909172139010.1520@qvzrafvba.5c.ybpny> References: <alpine.LSU.1.99.0909171832060.15831@acrux.dbai.tuwien.ac.at> <alpine.BSF.2.00.0909172117140.1520@qvzrafvba.5c.ybpny> <alpine.BSF.2.00.0909172139010.1520@qvzrafvba.5c.ybpny>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 17 Sep 2009, Jason J. Hellenthal wrote: > Something like the following. > > [/usr/local/bin/] > libstdc++.so /usr/local/lib/gcc44/libstdc++.so > libstdc++.so.6 /usr/local/lib/gcc44/libstdc++.so.6 That looks quite nice, and I was going to use that, alas I cannot seem to make it work. Is it possible that libmap.conf does not work when the name on the left-hand side is the same as on the right-hand side? > On a second note. It would be real nice if the install of a second/third > compiler would get installed into its own directory rather than placing > executables in /usr/local/bin/ place them /usr/local/lib/gcc44/bin and > create the symlinks to them. This would at least help the libmap issue > and gcc44 for several ports (just building). It wouldn't really help since the resulting binaries need the very same workaround. > Now for a port running (octave as example) have that port spam libmap.conf > with the proper configuration for just that port the same way perl does to > make.conf. That might work, though it looks like a lot of work. It occurs to me we really need to set this globally. That is one of the implications those that always pushed for having ports use a distinct compiler may have missed. That, or using -rpath. Loren, how would we best have GCC automatically add -rpath=/usr/local/lib/gcc44 to every invocation? Presumably spec magic? Gerald -- Gerald (Jerry) Pfeifer gerald@pfeifer.com http://www.pfeifer.com/gerald/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.LSU.1.99.0909202328340.5359>