Professional Documents
Culture Documents
Using LLVM With MobaXterm
Using LLVM With MobaXterm
ne t
Hom e
A bou t
Person al
Software
Work
Home
Software-Guides >
About
Contact
Rsum
Personal
Blog
Wr iting
Softw are
Mir anda IM
MobaXter m-Plugins
Cygwin)
MobaXter mHer e
windows/tabs.
REX
UDTour Guide
Softw are-Guides
Rever se engineer ing
Using LLVM w ith
MobaXterm
Work
CNC
LLV M
Many-Cor e FDTD
Many-Cor e FFT
UHPC
Sitemap
Set t ing up t he
Compilat ion
Environment :
1 . Download
MobaXterm from
MobaXterm 's
website here.
2 . Download the
following plugins
from
MobaXterm 's
Plugins
Listing here and
place them into
y our MobaXterm
directory :
1 . Gcc, G+ + ,
and
dev elopm ent
tools
(for
Compiling
LLVM)
2 . Perl
(for Utilities)
3 . Subv ersion
(SVN)
(for the
LLVM
repository)
4 . Tcl / Tk /
Expect
(for the
Automated
test suite?)
3 . Download the
following
additional 3 rd
party plugins
from m y website
here and place
them into y our
MobaXterm
directory :
1 . CMake
(for building
LLVM. See here for
details)
2 . Graphv iz
(for
viewGraph()
functionality. See
here for
details)
3 . Py thon
(needed by
LLVM-lit)
Downloading t he
Sources:
(see here for
details)
1 . Choose a
directory were
y ou want to place
the LLVM source
code.
2 . download the
LLVM source
code:
1 . cd /path/to
/llv m src-code
2 . sv n co
https://llv m .org
/sv n/llv m project
/llv m /trunk
llv m
3 . Download the
Clang source
code:
1 . cd /path/to
/llv m src-code
2 . cd
llv m /tools
3 . sv n co
https://llv m .org
/sv n/llv m project
/cfe/trunk
clang
Compiling LLVM
(MobaXt erm/Cy gwin
specific):
1 . Setup the linker
to support a large
heap size
(otherwise debug
builds will fail
when linking lto
and libclang):
1 . peflags
--bigaddr= 1
/bin/ld
(see here for
details)
2 . Setup the build
directory :
1 . Choose a
directory
where y ou
want to
com pile
llv m .
2 . cd /path/to
/llv m -builddirectory
3 . cm ake
-DCMAKE_BUILD_TYPE:STRING= Debug
/path/to
/llv m source-code
(Change the
build type to
Release for
the
non-debug
build)
3 . Com piling
1 . m ake all
2 . m ake check
3 . peflags
--bigaddr= 1
/path/to
/llv m -builddirectory
/bin/clang
(for large
heap size or
it will fail to
Comentarios
No tienes permiso para aadir comentarios.
Iniciar sesin | Informar de uso inadecuado | Imprimir pgina | Eliminar acceso | Con la tecnologa de Google Sites