[LLVMdev] make SHARED_LIBRARY=1 broken?

James Williams junk at giantblob.com
Tue Mar 2 14:51:14 PST 2010


On 2 March 2010 22:26, Óscar Fuentes <ofv at wanadoo.es> wrote:

> James Williams <junk at giantblob.com> writes:
>
> > I don't actually need opt dynamically linked but I do want shared
> > libraries.
>
> The cmake build should work:
>
> http://www.llvm.org/docs/CMake.html
>
Thanks but I've got this working now with configure+make now.


>
> BUILD_SHARED_LIBS:BOOL
>  Flag indicating is shared libraries will be built. Its default value
>  is OFF. Shared libraries are not supported on Windows and not
>  recommended in the other OSes.
>
> The "not recommended" part is, IIRC, due to the overhead that dynamic
> libraries introduce on startup, which is very noticeable when you are
> executing a short process lots of times (i.e. a test suite)
>
The application I want to dynamically link is an FCGI so startup time is not
really an issue for me.

-- James

> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100302/3330b8dc/attachment.html>


More information about the llvm-dev mailing list