Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Feb 2000 01:41:05 -0800
From:      "Jordan K. Hubbard" <jkh@zippy.cdrom.com>
To:        Martin Cracauer <cracauer@cons.org>
Cc:        jdp@FreeBSD.ORG, peter@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: "Interesting" failure mode for static linking with shared libs. 
Message-ID:  <33901.951212465@zippy.cdrom.com>
In-Reply-To: Your message of "Tue, 22 Feb 2000 09:01:42 %2B0100." <20000222090142.A29249@cons.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
> As a workaround for a static binary, you should be able to use
>   -Xlinker -Bstatic
> instead of
>   -static

Actually, it appears that just -Xlinker is necessary; it works
fine in conjunction with -static.  Thanks for this most helpful
tip!  I can see a *lot* of scenarios where I'll be using
-Xlinker in the future.  I didn't even know about that flag. :)

- Jordan


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?33901.951212465>