Mailinglist Archive: opensuse (2522 mails)

< Previous Next >
Re: [SLE] Static and Dynamic linkage
  • From: fountai@xxxxxxxxxxxxxxx (Derek Fountain)
  • Date: Wed, 05 Jul 2000 13:56:58 +0100
  • Message-id: <3963309A.AFEEADC3@xxxxxxxxxxxxxxx>



Just name the libraries on your link line. Static ones
(libxxx.a) will be linked statically, dynamic ones
(libxxx.so) will be linked dynamically. If you have both
static and dynamic versions of a library I think the dynamic
one is chosen, but you might want to check on that.

> How?
>
> On Tue, 4 Jul 2000, Derek Fountain wrote:
>
> > > Can I have some libraries compiled statically into my executable, and some
> > > dynamically?
> >
> > Yes.


--
To unsubscribe send e-mail to suse-linux-e-unsubscribe@xxxxxxxx
For additional commands send e-mail to suse-linux-e-help@xxxxxxxx
Also check the FAQ at http://www.suse.com/support/faq


< Previous Next >