libtool
[Top][All Lists]
Advanced

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

Re: static part of a shared library


From: Ralf Wildenhues
Subject: Re: static part of a shared library
Date: Sun, 16 Nov 2008 12:59:11 +0100
User-agent: Mutt/1.5.18 (2008-05-17)

Hello Bill,

* Bill Northcott wrote on Sun, Nov 16, 2008 at 07:07:38AM CET:
>
> As others wrote you need a convenience library.
>
> However, as the code you are compiling will be part of a shared library, 
> you need to use appropriate compiler flags.  -fPIC is defaulted on the 
> Apple compilers but I don't know if you need -fno-common anymore.

Libtool takes care of adding the respective PIC flags when building a
convenience archive.

Cheers,
Ralf




reply via email to

[Prev in Thread] Current Thread [Next in Thread]