summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2012-08-06 10:25:51 -0400
committerColin Walters <walters@verbum.org>2012-08-06 10:41:12 -0400
commit4016d04899aabaa28b84f004926fd1fa5e2e4519 (patch)
tree6a268ea21d3714802759cd5f343688e68cd12ef2 /doc
parente5c637571b81398186d573c3364cf175d1d5d78f (diff)
downloadvala-4016d04899aabaa28b84f004926fd1fa5e2e4519.tar.gz
building.txt: Update to mention vala-bootstrap
Diffstat (limited to 'doc')
-rw-r--r--doc/building.txt30
1 files changed, 15 insertions, 15 deletions
diff --git a/doc/building.txt b/doc/building.txt
index ad205ebea..e340f5041 100644
--- a/doc/building.txt
+++ b/doc/building.txt
@@ -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