diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-06-12 11:54:19 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-06-12 11:54:19 +0100 |
commit | 1496d0b341f3790a93eed6790f755423c5789456 (patch) | |
tree | cad462993273722d8752934f80989c02c02a18ce /doc | |
parent | 9aa4513147d24530faab213ed33c403035afa094 (diff) |
Add instructions to build with scons.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/html/build.html | 1 | ||||
-rw-r--r-- | doc/html/buildscons.html | 75 |
2 files changed, 76 insertions, 0 deletions
diff --git a/doc/html/build.html b/doc/html/build.html index b055598..369df4c 100644 --- a/doc/html/build.html +++ b/doc/html/build.html @@ -58,6 +58,7 @@ Once you've completed those tasks, choose one of the following: <UL> <LI><A HREF="buildgnu.html">Building <I>glean</I> for GNU/Linux</A></LI> <LI><A HREF="buildwin.html">Building <I>glean</I> for Windows</A></LI> + <LI><A HREF="buildscons.html">Building <I>glean</I> for GNU/Linux or Windows using scons</A></LI> </UL> diff --git a/doc/html/buildscons.html b/doc/html/buildscons.html new file mode 100644 index 0000000..5be8d05 --- /dev/null +++ b/doc/html/buildscons.html @@ -0,0 +1,75 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> +<HTML> + +<HEAD> + <TITLE>Building glean using scons</TITLE> + <META NAME="description" CONTENT="building glean using scons"> + <META NAME="author" CONTENT="Jose Fonseca"> + <LINK REV="made" HREF="mailto:jfonseca@vmware.com"> +</HEAD> + +<BODY bgcolor=#FFFFFF topmargin="10" bottommargin="10" leftmargin="10" + rightmargin="10" marginheight="0" marginwidth="0"> + +<H1>Building <I>glean</I> with scons</H1> + +<P> +Now you can build glean on GNU/Linux or Windows using +<A HREF="http://www.scons.org/">scons</A>. The advantages over GNU make are: +<UL TYPE=DISC> + <LI> no need to set build options — everything is autodetected; + <LI> automatically uses an included tiff library if none can be found; + <LI> support to cross build from GNU/Linux to Windows using MinGW cross + compilers. +</UL> + +<H2>Build <I>glean</I> on GNU/Linux or Windows</H2> + +<P> +Simply type +<PRE> + scons -C src +</PRE> + +<P> +Everything should be autodetected for you. + +<P> +You can change aspects of the build by passing options in the name=value. To +list these options and see their default value do +<PRE> + scons -C src -h +</PRE> + + +<H2>Build <I>glean</I> for Windows on GNU/Linux</H2> + +<P> +Type +<PRE> + scons -C src platform=windows machine=x86 toolchain=crossmingw +</PRE> + + +<HR> +<SMALL> + <UL TYPE=DISC> + <LI> <A HREF="index.html"><I>glean</I> home</A> + <LI> <A HREF="whatis.html">What is <I>glean</I>?</A> + <LI> <A HREF="build.html">How do I build <I>glean</I>?</A> + <LI> <A HREF="run.html">How do I run <I>glean</I>?</A> + <LI> <A HREF="next.html">Where do we go from here?</A> + <UL TYPE=CIRCLE> + <LI> <A HREF="newtest.html">Adding new tests</A> + <LI> <A HREF="newfeat.html">Adding new infrastructure features</A> + <LI> <A HREF="overview.html">Overview of <I>glean</I> internals</A> + <LI> <A HREF="repo.html">Creating a repository of results</A> + <LI> <A HREF="port.html">Porting <I>glean</I></A> + <LI> <A HREF="cleanup.html">Cleaning up loose ends</A> + </UL> + <LI> <A HREF="changes.html">What has changed recently?</A> + </UL> +</SMALL> + +</BODY> +</HTML> |