Difference between revisions of "Yhc/Scons"

From HaskellWiki
< Yhc
Jump to navigation Jump to search
(Add description of build commands)
Line 12: Line 12:
   
 
scons update
 
scons update
Update the YHC source and that of the dependencies.
+
:Update the YHC source and that of the dependencies.
 
scons depends
 
scons depends
Check the dependencies that are retrieved by the build process are in place and up to date.
+
:Check the dependencies that are retrieved by the build process are in place and up to date.
 
scons build
 
scons build
Build the compiler, runtime and library.
+
:Build the compiler, runtime and library.
 
scons build yhc
 
scons build yhc
Just build the YHC compiler.
+
:Just build the YHC compiler.
 
scons build yhi
 
scons build yhi
Just build the YHC runtime.
+
:Just build the YHC runtime.
 
scons build library
 
scons build library
Just build the YHC libraries.
+
:Just build the YHC libraries.
 
scons test
 
scons test
Build and run Neil Mitchell's tester.
+
:Build and run Neil Mitchell's tester.
 
scons clean
 
scons clean
Remove intermediate build files.
+
:Remove intermediate build files.
 
scons fullclean
 
scons fullclean
Completely remove all files generated as part of the build process, including the dependencies.
+
:Completely remove all files generated as part of the build process, including the dependencies.
   
 
Please report any problems with the scons build system to the mailing list, or if you work in the same office as me just come and prod me into action :-)
 
Please report any problems with the scons build system to the mailing list, or if you work in the same office as me just come and prod me into action :-)

Revision as of 22:01, 11 July 2006

Part of Yhc

(Download)

This page describes the experimental Scons-based build script.

Scons is a build system that handles most of the cross platform compatibility issues automatically.

Instructions

The scons scripts are currently in darcs. When you have retrieved the darcs repository simply run 'scons'.

The build system supports several commands, details of which can be found by typing 'scons help' or by reading below.

scons update

Update the YHC source and that of the dependencies.

scons depends

Check the dependencies that are retrieved by the build process are in place and up to date.

scons build

Build the compiler, runtime and library.

scons build yhc

Just build the YHC compiler.

scons build yhi

Just build the YHC runtime.

scons build library

Just build the YHC libraries.

scons test

Build and run Neil Mitchell's tester.

scons clean

Remove intermediate build files.

scons fullclean

Completely remove all files generated as part of the build process, including the dependencies.

Please report any problems with the scons build system to the mailing list, or if you work in the same office as me just come and prod me into action :-)