Linking llvm executables statically.

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

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@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