Giter Club home page Giter Club logo

tc-setup's Introduction

tags author date
tc, tiger, tiger compiler, compiler, libraries
Robin Boucher
02/28/19

Every library needed for compiling the Tiger Compiler project

Installation of custom bison/havm/monoburg/nolimips

Copy the following code in a file:

#!/bin/sh

# Install HAVM
wget https://www.lrde.epita.fr/~tiger/download/havm-0.27.tar.gz
tar -xzvf havm-0.27.tar.gz
cd havm-0.27
./configure
make
make install
cd ..
rm  havm-0.27.tar.gz

# Install Monoburg
wget https://www.lrde.epita.fr/~tiger/download/monoburg-1.0.6a.tar.gz
tar -xzvf monoburg-1.0.6a.tar.gz
cd monoburg-1.0.6a
./bootstrap
./configure
make
make install
cd ..
rm monoburg-1.0.6a.tar.gz

# Install Nolimips
wget https://www.lrde.epita.fr/~tiger/download/nolimips-0.10.tar.gz
tar -xzvf nolimips-0.10.tar.gz
cd nolimips-0.10
./bootstrap
./configure
make

# Dirty quick fix
cp src/nolimips /usr/local/bin
mkdir /usr/local/bin/.libs
cp src/.libs/nolimips /usr/local/bin/.libs

cd ..
rm nolimips-0.10.tar.gz

# Install custom Bison
wget https://www.lrde.epita.fr/~tiger/download/bison-3.2.1.52-cd4f7.tar.gz
tar -xvf bison-3.2.1.52-cd4f7.tar.gz
cd bison-3.2.1.52-cd4f7
./configure
make
make install
cd ..
rm bison-3.2.1.52-cd4f7.tar.gz

Chmod it to make it executable and launch it with sudo to install the different packages:

chmod 700 file.sh
sudo ./file.sh

Installing automake/autoconf:

sudo apt-get install automake sudo apt-get install autoconf

Installing libtoolize:

sudo apt-get install libtool

Installing libboost:

Check this link and adapt to version you want. If you can, take the latest stable one.

Installing the good version of g++ and gcc

Check this link and adapt to the version you want. If you can, take the latest stable one. Be aware of not messing up with symbolic links.

tc-setup's People

Contributors

shaigrorb avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.