OSDN Git Service

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 ef026c0..4c5a120 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 ba72ea2..70de151 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>