This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Including -R /usr/local/lib?


Kamil Iskra <kamil@dwd.interkom.pl> writes:

> Excuse me, but what is wrong with setting the LD_LIBRARY_PATH environment
> variable so that it includes /usr/local/lib?

We have several versions of gcc installed in directories that are not
/usr/local.  I won't assume users will select the appropriate library
because they won't, and then they'll blame me.  I'd better make sure
their programs pick up the correct library at run-time.

-- 
Alexandre Oliva
mailto:oliva@dcc.unicamp.br mailto:aoliva@acm.org
http://www.dcc.unicamp.br/~oliva
Universidade Estadual de Campinas, SP, Brasil



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]