Skip to content
Roman edited this page Aug 14, 2015 · 2 revisions

Supported platforms

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 - -

Ubuntu 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

Ubuntu amd64/ARM

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

CMake variables

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

Examples

  1. Run tests: ~/llst/build $ cmake .. -DBUILD_TESTS=On && make check
  2. Build with mingw: ~/llst/build $ cmake .. -DCMAKE_TOOLCHAIN_FILE=../cmake/toolchain/mingw32.cmake -DUSE_READLINE=Off && make
  3. Build JIT: ~/llst/build $ cmake .. -DUSE_LLVM=On && make
  4. Build with clang: ~/llst/build $ cmake .. -DCMAKE_CXX_COMPILER=clang++ && make
Clone this wiki locally