]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
building.txt: Update to mention vala-bootstrap
authorColin Walters <walters@verbum.org>
Mon, 6 Aug 2012 14:25:51 +0000 (10:25 -0400)
committerColin Walters <walters@verbum.org>
Mon, 6 Aug 2012 14:41:12 +0000 (10:41 -0400)
doc/building.txt

index ad205ebeacb696fde8468357b382ab42ca52df7c..e340f5041d9e61516c1ae121bac14b2d0980ea37 100644 (file)
@@ -7,39 +7,39 @@ TODO: complete this list
 Step two:
 ---------
 
-Grab yourself a vala to c compiled release of vala. Vala is self-hosting so it
-needs another vala compiler to compile itself. Since vala compiles to C code,
-you can use a tarball release of vala to compile the generated C code of such
-a release into a working Vala compiler, that will compile the Vala compiler
-which you might have checked out from the repository
+Vala is self-hosting so it needs another vala compiler to compile
+itself.  If you don't have an existing vala installed (i.e. because
+you're bootstrapping or cross-compiling), you can use the
+vala-bootstrap module:
 
-http://live.gnome.org/Vala/Release
+http://git.gnome.org/browse/vala-bootstrap
 
-Step three:
------------
+See also:
 
-Compiling the release which you just grabbed:
+http://live.gnome.org/Vala/Release
 
-tar jxvf vala-x.y.x.tar.bz2
-cd vala-x.y.z
-./configure --prefix=/opt/vala-release
+Downloading and compiling the bootstrap module:
+
+git clone git://git.gnome.org/vala-bootstrap
+cd vala-bootstrap
+./autogen.sh --prefix=/opt/vala-bootstrap --disable-build-from-vala --disable-vapigen
 make && sudo make install
 
-Step four:
+Step three:
 ----------
 
 Compiling the newest Vala from the repository:
 
 git clone git://git.gnome.org/vala
 cd vala
-export VALAC=/opt/vala-release/bin/vala
+export VALAC=/opt/vala-bootstrap/bin/vala
 ./autogen.sh --prefix=/opt/vala
 make && sudo make install
 
 Maybe you want to compile the new Vala with itself. Then you simply go over
 it again:
 
-make distclean
+git clean -dfx
 export VALAC=/opt/vala/bin/vala
 ./autogen.sh --prefix=/opt/vala
 make && sudo make install