Index of /examples/GIS/llvm

Icon  Name                    Last modified      Size  Description
[DIR] Parent Directory - [   ] example2.cpp 26-Mar-2015 19:52 10K [   ] example1.cpp 26-Mar-2015 19:21 10K

LLVM Clang tool example

To run Clang using toy.cpp source file:

scc1% module load gcc/4.8.1
scc1% module load llvm/3.6

scc1% clang++ --version
clang version 3.6.0 (tags/RELEASE_360/final)
Target: x86_64-unknown-linux-gnu
Thread model: posix


scc1% clang++ -g -O3 example1.cpp -o example1



Manual for LLVM:
http://llvm.org/docs/tutorial/index.html