mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-04-13 15:37:24 +00:00
[Docs][JIT] Update the clang++ invocation lines in the kaleidoscope docs.
The old examples had missing/incorrect flags that were causing failures on newer versions of clang and the tutorial code. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@221419 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
5940390ece
commit
6c100e7428
@ -581,7 +581,7 @@ our makefile/command line about which options to use:
|
||||
.. code-block:: bash
|
||||
|
||||
# Compile
|
||||
clang++ -g -O3 toy.cpp `llvm-config --cppflags --ldflags --libs core` -o toy
|
||||
clang++ -g -O3 toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core` -o toy
|
||||
# Run
|
||||
./toy
|
||||
|
||||
|
@ -428,7 +428,7 @@ the LLVM JIT and optimizer. To build this example, use:
|
||||
.. code-block:: bash
|
||||
|
||||
# Compile
|
||||
clang++ -g toy.cpp `llvm-config --cppflags --ldflags --libs core jit native` -O3 -o toy
|
||||
clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core jit native` -O3 -o toy
|
||||
# Run
|
||||
./toy
|
||||
|
||||
|
@ -736,7 +736,7 @@ the if/then/else and for expressions.. To build this example, use:
|
||||
.. code-block:: bash
|
||||
|
||||
# Compile
|
||||
clang++ -g toy.cpp `llvm-config --cppflags --ldflags --libs core jit native` -O3 -o toy
|
||||
clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core jit native` -O3 -o toy
|
||||
# Run
|
||||
./toy
|
||||
|
||||
|
@ -729,7 +729,7 @@ the if/then/else and for expressions.. To build this example, use:
|
||||
.. code-block:: bash
|
||||
|
||||
# Compile
|
||||
clang++ -g toy.cpp `llvm-config --cppflags --ldflags --libs core jit native` -O3 -o toy
|
||||
clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core jit native` -O3 -o toy
|
||||
# Run
|
||||
./toy
|
||||
|
||||
|
@ -847,7 +847,7 @@ mutable variables and var/in support. To build this example, use:
|
||||
.. code-block:: bash
|
||||
|
||||
# Compile
|
||||
clang++ -g toy.cpp `llvm-config --cppflags --ldflags --libs core jit native` -O3 -o toy
|
||||
clang++ -g toy.cpp `llvm-config --cxxflags --ldflags --system-libs --libs core jit native` -O3 -o toy
|
||||
# Run
|
||||
./toy
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user