This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: ld preference for .a instead of .so on ELF systems
- From: "H. J. Lu" <hjl at lucon dot org>
- To: Lluís Batlle <viriketo at gmail dot com>
- Cc: binutils at sourceware dot org
- Date: Tue, 31 Oct 2006 08:55:55 -0800
- Subject: Re: ld preference for .a instead of .so on ELF systems
- References: <45219fb00610310847s7bd8d75cx1f4a516f6cac6f32@mail.gmail.com>
On Tue, Oct 31, 2006 at 05:47:27PM +0100, Lluís Batlle wrote:
> Isn't there any way 'ld' can prefer .a over .so in, say, a Linux ELF
> system? I cannot find anything similar in the info pages.
>
Check out -Bstatic.
H.J.