LLVM: Difference between revisions
Jump to navigation
Jump to search
[unchecked revision] | [unchecked revision] |
Content added Content deleted
(Created page with "LLVM is a compiler infrasture for several languages. Its is consist of clang (c compiler), the llvm libary (includes llvm-mc the assembler) and lld the linker. The llvm libbar...") |
No edit summary |
||
Line 1: | Line 1: | ||
LLVM is a compiler infrasture for several languages. Its is consist of clang (c compiler), the llvm libary (includes llvm-mc the assembler) and lld the linker. The llvm libbary can be used to create several languages like rust. |
LLVM is a compiler infrasture for several languages. Its is consist of clang (c compiler), the llvm libary (includes [http://blog.llvm.org/2010/04/intro-to-llvm-mc-project.html llvm-mc] the assembler) and lld the linker. The llvm libbary can be used to create several languages like rust. |
||
== OS Development with LLVM == |
== OS Development with LLVM == |
||
LLVM recently has been used is development of BSDs. |
|||
One good thing of LLVM, it is cross-compiler by design. |
One good thing of LLVM, it is cross-compiler by design. |
Revision as of 05:39, 13 September 2017
LLVM is a compiler infrasture for several languages. Its is consist of clang (c compiler), the llvm libary (includes llvm-mc the assembler) and lld the linker. The llvm libbary can be used to create several languages like rust.
OS Development with LLVM
LLVM recently has been used is development of BSDs.
One good thing of LLVM, it is cross-compiler by design.
The following command gives the supported architectures
llc -version
As it is as cross compiler by default, clang can called to compile i686-elf for the simply by
clang -target i686-elf
Building LLVM
- Main article: LLVM Cross-Compiler