Re: Help with static linking

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, May 31, 2013 at 2:31 PM, Robert Boehne <robertb@xxxxxxxxxx> wrote:

> -Wl,-static -lzzip -Wl,call_shared
>
> I don't have a computer in front of me, so YMMV, you should man ld to make
> sure those flags are correct.
>

What you're thinking of is -Wl,-Bstatic and -Wl,-Bdynamic — for the GNU
linker at least, but this is not portable.

Seriously, it sounds to me like something else is wrong, you should never
have the need to statically link stuff that way unless you're doing release
management of binary applications, in which case you have another set of
problems entirely.


Diego Elio Pettenò — Flameeyes
flameeyes@xxxxxxxxxxxx — http://blog.flameeyes.eu/
_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
https://lists.gnu.org/mailman/listinfo/autoconf





[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux