[LLVMdev] How do you Build LLVM Statically Linked?

Kenneth Boyd zaimoni at zaimoni.com
Tue Apr 29 06:26:29 PDT 2008


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?
>   
The --disable-shared option to configure should work (like it does for 
most configure-scripted projects).

Kenneth Boyd




More information about the llvm-dev mailing list