How to build an RPATH into gcc?

Serge Belyshev belyshev@lubercy.com
Thu May 6 15:50:00 GMT 2004


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



More information about the Gcc mailing list