paths for headers and libraries
Andrea 'Fyre Wyzard' Bocci
fwyzard@inwind.it
Sun Feb 17 06:56:00 GMT 2002
At 15.20 16/02/2002 (GMT +1300), Ross Smith wrote:
>...
>
>At the moment I'm using $LIBRARY_PATH to work around this, but that's an
>annoying wart and anyway it isn't a global solution (I have to set the
>variable in my .bashrc and root's, and then what if I give somebody else
>an account?). Using -L in makefiles isn't an option, because it probably
>won't be appropriate to other systems.
You could set it in /etc/profile. This way, everybody's bash wold
automatically get that.
Don't know about other shells, though.
>Can anybody explain a general solution to this? A way of changing the
>link search path globally and permanently? I've searched the ld docs but
>can't find anything relevant.
>
>--
>Ross Smith ...................................... Auckland, New Zealand
>r-smith@ihug.co.nz ......................... http://storm.net.nz/~ross/
> "We need a new cosmology. New gods. New sacraments. Another drink."
> -- Patti Smith
More information about the Gcc
mailing list