Skip to content

Required Libraries

Pavel I. Kryukov edited this page Sep 29, 2017 · 15 revisions

Install LibELF

Ubuntu

Note: It was verified on Ubuntu 12.04.1 LTS (GNU/Linux 2.6.32-042stab084.26 x86_64).
Note: It works for Windows-Ubuntu as well.
apt-get install libelf-dev

MSYS2

pacman --needed --noconfirm -S mingw-w64-x86_64-libelf # 64-bit
pacman --needed --noconfirm -S mingw-w64-i686-libelf # 32-bit

MS Visual Studio

Unfortunately, there is no way to get pre-built LibELF or good manual to do it. You have to clone MIPT-ILab version of LibELF (https://github.com/MIPT-ILab/libelf) and build it using command line:

cd lib
call build.bat

There are 3 files generated: libelf.lib, libelf.dll, and libelf.exp. You have to link MIPT-MIPS (or other program) with libelf.lib and /MD flag. Then, get sure that libelf.dll can be found in your %PATH% environment variable.

OS X

brew install libelf
export CPATH=$CPATH:/usr/local/Cellar/libelf/0.8.13_1/include/libelf

Install Boost

Ubuntu

Note: It was verified on Ubuntu 12.04.1 LTS (GNU/Linux 2.6.32-042stab084.26 x86_64).
Note: It works for Windows-Ubuntu as well`.
apt-get install libboost-all-dev

MSYS2

pacman --needed --noconfirm -S mingw-w64-i686-boost # 32-bit
pacman --needed --noconfirm -S mingw-w64-x86_64-boost # 64 bit

MS Visual Studio

You have to build Boost manually, but there is a full manual on Boost web site

Clone this wiki locally