Oops. I wanted the compile flags for C++, not the C preprocessor flags.
authorOwen Anderson <resistor@mac.com>
Mon, 24 Mar 2008 21:38:01 +0000 (21:38 +0000)
committerOwen Anderson <resistor@mac.com>
Mon, 24 Mar 2008 21:38:01 +0000 (21:38 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@48744 91177308-0d34-0410-b5e6-96231b3b80d8

docs/tutorial/JITTutorial1.html
docs/tutorial/JITTutorial2.html

index ef026c0fd6f9bba3646a30f6c719c016569c7058..4c5a1203c956a7c7bd02f35f08c708088f75f82b 100644 (file)
@@ -169,7 +169,7 @@ Module* makeLLVMModule() {
 
 <div class="doc_code">
 <pre>
-# c++ -g tut1.cpp `llvm-config --cppflags --ldflags --libs core` -o tut1
+# c++ -g tut1.cpp `llvm-config --cxxflags --ldflags --libs core` -o tut1
 # ./tut1
 </pre>
 </div>
index ba72ea2abb014c1f19e8fb765b778c0f7242a89a..70de151fcdf47ae2da34bafbd250fefcb931c5f6 100644 (file)
@@ -166,7 +166,7 @@ Module* makeLLVMModule() {
 
 <div class="doc_code">
 <pre>
-# c++ -g tut2.cpp `llvm-config --cppflags --ldflags --libs core` -o tut2
+# c++ -g tut2.cpp `llvm-config --cxxflags --ldflags --libs core` -o tut2
 # ./tut2
 </pre>
 </div>