This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: How to build an RPATH into gcc?
- From: Serge Belyshev <belyshev at lubercy dot com>
- To: Adrian Bunk <bunk at fs dot tum dot de>
- Cc: gcc at gcc dot gnu dot org
- Date: Thu, 06 May 2004 19:24:07 +0400
- Subject: Re: How to build an RPATH into gcc?
- References: <20040506135329.GM9636@fs.tum.de>
RPATH is evil (BTW if you really want it, set LDFLAGS='-Wl,-rpath -Wl,/usr/local/lib').
Much better:
# echo /usr/local/lib >> /etc/ld.so.conf
# ldconfig
#
And /lib/ld-linux.so.2 will search libraries there.
--
Serge