Forcing symbol resolution in lib rather than bin

Jonathon McKitrick jcm at FreeBSD-uk.eu.org
Fri Aug 19 20:03:43 GMT 2005


On Fri, Aug 19, 2005 at 10:47:48PM +0300, Giorgos Keramidas wrote:
: # flame:/tmp/jcm-lib/foobar$ LD_LIBRARY_PATH=`pwd`/../libbar ./foobar
: # libfoo initialized at 0x80062a8a0
: # libbar initialized at 0x4004e4
: # flame:/tmp/jcm-lib/foobar$

Hmmm.  I'm using my own makefile setup rather than the standard one.  I know
you're a big fan of <bsd.xxx.mk>  ;-)

Doesn't ld *statically* link code from .a archives?

Jonathon McKitrick
--
Hoppiness is a good beer.


More information about the freebsd-questions mailing list