-
Notifications
You must be signed in to change notification settings - Fork 10
How to build
Roman edited this page Aug 14, 2015
·
2 revisions
OS | Arch | Soft | JIT |
---|---|---|---|
Debian | ARM | + | - |
Ubuntu | x86 | + | + |
Ubuntu | x86-64 | + | + |
Ubuntu | amd64 | + | + |
FreeBSD | x86 | + | + |
Mac OS X 10.8 | x86 | + | ? |
Mac OS X 10.8 | PowerPC | + | ? |
Arch Linux | x86 | + | + |
Cygwin/Win32 | x86 | + | ? |
MinGW/Win32 | x86 | + | ? |
Windows 7 | x86 | - | - |
sudo apt-get install g++ cmake libreadline-dev llvm-3.3-dev
git clone https://github.com/0x7CFE/llst.git
cd llst
mkdir build && cd build
cmake ..
make
sudo apt-get install cmake ia32-libs g++-multilib libreadline-dev:i386 llvm-3.3-dev:i386
git clone https://github.com/0x7CFE/llst.git
cd llst
mkdir build && cd build
cmake ..
make
Name | Default | Description |
---|---|---|
USE_READLINE | On | Should we use the GNU readline and history libraries? |
USE_LLVM | Off | Should we use LLVM to build JIT? |
USE_POD2MAN | On | Should we use pod2man to build the documentation (we will create empty docs otherwise)? |
BUILD_TESTS | Off | Should we build tests? |
CMAKE_BUILD_TYPE | This statically specifies what build type (configuration) will be built in this build tree. Possible values are empty, Debug, Release, RelWithDebInfo and MinSizeRel. This variable is only meaningful to single-configuration generators (such as make and Ninja) | |
CMAKE_CXX_COMPILER | C++ compiler | |
CMAKE_TOOLCHAIN_FILE | Path to toolchain file |
- Run tests:
~/llst/build $ cmake .. -DBUILD_TESTS=On && make check
- Build with mingw:
~/llst/build $ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain/mingw32.cmake -DUSE_READLINE=Off && make
- Build JIT:
~/llst/build $ cmake .. -DUSE_LLVM=On && make
- Build with clang:
~/llst/build $ cmake .. -DCMAKE_CXX_COMPILER=clang++ && make