summaryrefslogtreecommitdiff
path: root/Docs
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2015-02-28 13:06:30 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2015-02-28 13:06:30 +0000
commit5baf48859a71060bbe6e81335431fcda6c91a0f8 (patch)
tree5ad5eb675142bf2703e6cfd34f7bfeaae5bffb2d /Docs
parent947c466c4ba63ad84c0121453975a34935d0c1e8 (diff)
parent2ce332f1b07af89ce387ca24cc6471f97c80154b (diff)
downloadnetsurf-5baf48859a71060bbe6e81335431fcda6c91a0f8.tar.gz
netsurf-5baf48859a71060bbe6e81335431fcda6c91a0f8.tar.bz2
Merge branch 'master' of git://git.netsurf-browser.org/netsurf into chris/bitmap-fonts
Diffstat (limited to 'Docs')
-rw-r--r--Docs/QUICK-START38
1 files changed, 37 insertions, 1 deletions
diff --git a/Docs/QUICK-START b/Docs/QUICK-START
index 237027b71..9ff3fb5e9 100644
--- a/Docs/QUICK-START
+++ b/Docs/QUICK-START
@@ -1,5 +1,5 @@
--------------------------------------------------------------------------------
- Quick Build Steps for NetSurf 26 February 2014
+ Quick Build Steps for NetSurf 24 February 2015
--------------------------------------------------------------------------------
This document provides steps for building NetSurf.
@@ -63,6 +63,42 @@
$ ./nsfb
+ Cross Compiling
+=================
+
+ If you are cross compiling, you can follow the above steps, but when sourcing
+ env.sh, you should set TARGET_ABI to the appropriate triplet for your cross
+ compiler. For example, to cross compile for RISC OS:
+
+ $ TARGET_ABI=arm-unknown-riscos source env.sh
+
+ After that, the commands such as `ns-package-install` and `ns-pull-install`
+ will do what is appropriate for the platform you are building for.
+
+ To do the final build of NetSurf, pass the appropriate TARGET to make. For
+ example, to cross compile for RISC OS:
+
+ $ make TARGET=riscos
+
+ Finally, you can package up your build to transfer to the system you are
+ developing for. For example, to produce a package for RISC OS:
+
+ $ make TARGET=riscos package
+
+ Getting a cross compiler set up
+---------------------------------
+
+ We maintain cross compilation environments and an SDK for a number of
+ platforms. These may be found in our toolchains repository.
+
+ $ git clone git://git.netsurf-browser.org/toolchains
+
+ Pre-built versions of the toolchains for Debian systems are often available
+ via our automated build and test infrastructure:
+
+ http://ci.netsurf-browser.org/builds/toolchains/
+
+
Not working?
==============