From 9e383c28f0e437ae532680086be45afdcf076e6a Mon Sep 17 00:00:00 2001 From: Andrea Bastoni Date: Wed, 19 May 2010 12:13:48 -0400 Subject: Update scons section and add -h option --- index.html | 46 +++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 45 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 6961509..f820371 100644 --- a/index.html +++ b/index.html @@ -380,8 +380,52 @@ make modules depends on the LITMUSRT kernel kernel and provides its own build system (based on scons). In order to compile liblitmus, you need to adjust the variable LITMUS_KERNEL in the SConstruct file to point to your - copy of the kernel. + copy of the kernel. Users should not update the SConstruct file manually anymore. Instead, a .config file can be created with appropriate variables. The required variables can be listed using scons -h command. This command lists the variables required for building the liblitmus2010 library.
+ Sample output of scons -h is as shown below.

+

+

 
+scons -h
+scons: Reading SConscript files ...
+scons: done reading SConscript files.
+
+=============================================
+liblitmus --- The LITMUS^RT Userspace Library
+
+There are a number of user-configurable build
+variables. These can either be set on the
+command line (e.g., scons ARCH=x86) or read
+from a local configuration file (.config).
+
+Run 'scons --dump-config' to see the final
+build configuration.
+
+Build Variables
+---------------
+
+LITMUS_KERNEL: Where to find the LITMUS^RT kernel. ( /path/to/LITMUS_KERNEL )
+    default: ../litmus2010
+    actual: ../litmus2010
+
+PYTHON_HEADERS: Where to find Python headers. ( /path/to/PYTHON_HEADERS )
+    default: /usr/include/python2.5
+    actual: /usr/include/python2.5
+
+ARCH: Target architecture. (x86_64|sparc64|x86|i686)
+    default: x86_64
+    actual: x86_64
+
+WSS: Working set size for pm analysis
+    default: 3072
+    actual: 3072
+
+Use scons -H for help about command-line options.
+   
+

+

+ To summarize, the liblitmus can be obtained and + compiled with the following commands: +

 
 cd $DIR
 wget http://www.cs.unc.edu/~anderson/litmus-rt/download/2010.1/liblitmus-2010.1.tgz
-- 
cgit v1.2.2