[LLVMdev] How do you Build LLVM Statically Linked?

Anders Johnsen skabet at gmail.com
Tue Apr 29 05:50:50 PDT 2008


On Tuesday 29 April 2008 14:52:49 David J.A. Koogler wrote:
> Everyone,
>
> I would like to build the LLVM toolchain and the GCC front end as
> statically linked executables, but I do not see a configure
> option to set this. A quick check of the FAQ and build documents
> comes up empty. Is there a linker switch setting or environment
> variable for the Makefile?
>
> Dave Koogler
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev

Hi,

I think there is a

./configure --enable-static

switch - have you tried that?

Anders Johnsen



More information about the llvm-dev mailing list