File tree Expand file tree Collapse file tree 2 files changed +2
-9
lines changed
docs/tutorial/MyFirstLanguageFrontend
examples/Kaleidoscope/Chapter2 Expand file tree Collapse file tree 2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change @@ -716,15 +716,12 @@ Intermediate Representation (IR) from the AST.
716
716
Full Code Listing
717
717
=================
718
718
719
- Here is the complete code listing for our running example. Because this
720
- uses the LLVM libraries, we need to link them in. To do this, we use the
721
- `llvm-config <https://llvm.org/cmds/llvm-config.html >`_ tool to inform
722
- our makefile/command line about which options to use:
719
+ Here is the complete code listing for our running example.
723
720
724
721
.. code-block :: bash
725
722
726
723
# Compile
727
- clang++ -g -O3 toy.cpp ` llvm-config --cxxflags `
724
+ clang++ -g -O3 toy.cpp
728
725
# Run
729
726
./a.out
730
727
Original file line number Diff line number Diff line change 1
- set (LLVM_LINK_COMPONENTS
2
- Support
3
- )
4
-
5
1
add_kaleidoscope_chapter (Kaleidoscope-Ch2
6
2
toy.cpp
7
3
)
You can’t perform that action at this time.
0 commit comments