[LLVMdev] Linking llvm executables statically.

Sanjiv Gupta sanjiv.gupta at microchip.com
Tue Jul 14 19:52:00 PDT 2009


Sanjiv Gupta wrote:
> When I move the built executables between my linux boxes, I get libs 
> missing errors (libffi, glibc etc).
> How to link in everything statically?
>
> -Sanjiv
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>   
Well this might seem an OT, but I am just curious to know whether there 
is an easy way to distribute binaries on different linux machines.
Currently, llvm binaries have dependencies on libstdc++.so, libc.so, 
libgcc.so etc.
1. is it possible , 2. is it safe to be able to link these libs 
statically and then distribute them ?

- Sanjiv




More information about the llvm-dev mailing list