Peter O'Gorman wrote:

You will see that LIBRARY_PATH has zero effect on things which (incorrectly) use ld directly. Note that disabling /usr/local/lib is impossible, it is hardcoded into ld:

The only ways to change it is to ld -Z to delete all of them, or the NEXT_ROOT env var

And to reply to myself, when I read this I hit myself on the head. Setting NEXT_ROOT to "/usr" would disable /usr/local/lib, it would make the search path '/usr/lib:/usr/usr/lib:/usr/usr/local/lib', of which only the first one is a real dir. This is, of course, academic, as everything uses gcc to link anyway, so LIBRARY_PATH is perfectly good for our needs.


Peter



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Fink-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to