Thursday, September 18, 2008

SCons in Ubuntu Linux box

After fixing the annoying varnish installation problem, I could proceed with installation of SCons in my Ubuntu box.
$ sudo apt-get install scons

Then I created the same SConstruct file, with content:


Invoke SCons:

$ scons

scons: Reading SConscript files ...

scons: done reading SConscript files.

scons: Building targets ...

gcc -o hello.o -c hello.c

gcc -o hello hello.o

scons: done building targets.

Invoke the executable binary:

$ ./hello

hello, world!

It really works as advertised! Excellent!

No comments:

Post a Comment