Skip to main content

Command Palette

Search for a command to run...

How to compile libjit from source

Published
1 min read
M

Hands-on technology leader with 10+ years building scalable, mission-critical systems at Goldman Sachs, Brevan Howard and fast-growing fintechs. Expert in cloud-native architectures, distributed data pipelines and high-throughput systems; experienced in migrating legacy platforms and designing AI-enabled services. Proven track record delivering reliable platforms that process millions of transactions daily.

Libjit is a GNU library which can be used to generate machine code on the fly. You can use this library to add Just-in-Time compilation to your interpreter.

This is the commands that is needed to get latest source and compile this library.

sudo apt-get install git

sudo apt-get install flex

sudo apt-get install bison

sudo apt-get install make

sudo apt-get install autotools-dev

sudo apt-get install autoconf

sudo apt-get install libtool

sudo apt-get install gcc

sudo apt-get install texinfo

git clone git://git.savannah.gnu.org/libjit.git

cd libjit

./auto_gen.sh

./configure

make

make install

The whole process is tested on a bare Ubuntu 15.10 x64 and takes ~5 minutes.

More from this blog

A

A Blog about Software Development

96 posts