Installing LLVM

Aug 16, 2015

You have typically two steps to install LLVM on your machine.

1.Update your gcc

This step is a must, as llvm installation requires gcc 4.7 or later version. To update gcc, click here

You may also need to update your gdb to version 7.6, if your gdb does not print properly. download following standard steps: download -> decompress -> ./configure–> make –> sudo make install

2.Install LLVM

    $svn co llvm
    $cd llvm/tools
    $svn co clang
    $cd ..
    $cd projects
    $svn co compiler-rt
    $cd ..
    $mkdir build
    $cd build
    $../configure --enable-optimized
    $make -j4
    $sudo make install

    If you have any question, do not hesitate to contract us. Email: