Installing Scons

On a Debian based system use:

$ sudo apt-get install scons

otherwise see http://scons.org/doc/0.98.4/HTML/scons-user/c95.html

For Windows you'll also need Python installed as well.

Using Docker

If you want to try the examples out without installing GCC, Python, Scons, etc. then Docker can make this easy.

Assuming you can install docker, then the following command will call scons:

$ docker run --rm -v $(pwd):/usr/project feabhas/gcc7-scons:1.0 scons

If an executable (e.g. hello) is built, then this can be called thus:

$ docker run --rm -v $(pwd):/usr/project feabhas/gcc7-scons:1.0 ./hello

On windows, it is:

$ docker run --rm -v /$(pwd):/usr/project feabhas/gcc7-scons:1.0 scons

results matching ""

    No results matching ""