[LLVMdev] User visible changes to llvmgcc and runtime libraries

Chris Lattner sabre at nondot.org
Tue Dec 14 15:20:11 PST 2004

Hi all LLVM CVS users,

Recently, the LLVM makefiles have changed how runtime libraries are 
handled for the C/C++ frontend.  Please take the following steps 
(assuming 'llvmgccdir' is whatever you normally pass to configure as the 
--with-llvmgcdir option):

1. Go into your llvm/runtime directory, and run 'make install-bytecode'.
    This will install runtime libraries into llvmgccdir/lib.
2. Remove the old 'bytecode-libs' directory from llvmgcc:
      rm -rf llvmgccdir/bytecode-libs
3. Unset the LLVM_LIB_SEARCH_PATH environment variable, and remove it from
    your .profile or .cshrc.

The LLVM_LIB_SEARCH_PATH is still recognized and accepted by the LLVM 
tools, but it is optional and should never be needed in practice (you can 
always pass library directories into llvmgcc with the standard -L 



More information about the llvm-dev mailing list