summaryrefslogtreecommitdiff
path: root/Docs/BUILDING-ROCross
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2009-07-29 11:56:26 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2009-07-29 11:56:26 +0000
commitb18c0b0eca1a06b95660749e00648117526b1118 (patch)
tree879ec3e6c1bd523dddf40e6cc738d8fcba272990 /Docs/BUILDING-ROCross
parent0d5c1eada9338fa4ae34a31745a5a9f82b352924 (diff)
downloadnetsurf-b18c0b0eca1a06b95660749e00648117526b1118.tar.gz
netsurf-b18c0b0eca1a06b95660749e00648117526b1118.tar.bz2
Make it match the others in style.
svn path=/trunk/netsurf/; revision=8890
Diffstat (limited to 'Docs/BUILDING-ROCross')
-rw-r--r--Docs/BUILDING-ROCross125
1 files changed, 67 insertions, 58 deletions
diff --git a/Docs/BUILDING-ROCross b/Docs/BUILDING-ROCross
index a2aa31c88..52662f2f6 100644
--- a/Docs/BUILDING-ROCross
+++ b/Docs/BUILDING-ROCross
@@ -1,102 +1,111 @@
-Creating a cross-compilation environment for RISC OS NetSurf
-============================================================
+--------------------------------------------------------------------------------
+ Creating a cross-compilation environment for RISC OS NetSurf
+--------------------------------------------------------------------------------
-These instructions assume that you're starting from ~.
-They also assume that you've got GCCSDK's prerequisites installed.
+ These instructions assume that you're starting from ~.
+ They also assume that you've got GCCSDK's prerequisites installed.
-Building the toolchain
-======================
-$ svn co svn://svn.riscos.info/gccsdk/trunk/ gccsdk
+ Building the toolchain
+========================
-$ cd gccsdk/gcc4
+ Run the following commands.
-$ ./build-world
+ $ svn co svn://svn.riscos.info/gccsdk/trunk/ gccsdk
-$ export GCCSDK_INSTALL_CROSSBIN=/home/riscos/cross/bin
+ $ cd gccsdk/gcc4
-$ export GCCSDK_INSTALL_ENV=/home/riscos/env
+ $ ./build-world
-Creating the environment
-========================
+ $ export GCCSDK_INSTALL_CROSSBIN=/home/riscos/cross/bin
-A. Autobuilder packages
------------------------
+ $ export GCCSDK_INSTALL_ENV=/home/riscos/env
-$ cd ../
+ Creating the environment
+==========================
-$ mkdir build-ab
+ A. Autobuilder packages
+-------------------------
-$ cat > build-ab/build-setvars
-GCCSDK_INSTALL_CROSSBIN=/home/riscos/cross/bin
-GCCSDK_INSTALL_ENV=/home/riscos/env
-RO_SHAREDLIBS=no
-AB_ELFBUILD=yes
+ $ cd ../
-$ cd build-ab
+ $ mkdir build-ab
-$ ../autobuilder/build zlib1g
+ $ cat > build-ab/build-setvars
+ GCCSDK_INSTALL_CROSSBIN=/home/riscos/cross/bin
+ GCCSDK_INSTALL_ENV=/home/riscos/env
+ RO_SHAREDLIBS=no
+ AB_ELFBUILD=yes
-$ ../autobuilder/build c-ares
+ $ cd build-ab
-$ ../autobuilder/build libxml2
+ $ ../autobuilder/build zlib1g
-$ ../autobuilder/build/libssl0.9.8
+ $ ../autobuilder/build c-ares
-$ ../autobuilder/build/libcurl3
+ $ ../autobuilder/build libxml2
-$ ../autobuilder/build/libjpeg62
+ $ ../autobuilder/build/libssl0.9.8
-$ ../autobuilder/build/liblcms1
+ $ ../autobuilder/build/libcurl3
-$ ../autobuilder/build/libpng12-0
+ $ ../autobuilder/build/libjpeg62
-$ ../autobuilder/build/libmng1
+ $ ../autobuilder/build/liblcms1
-$ ../autobuilder/build/oslib
+ $ ../autobuilder/build/libpng12-0
-B. NetSurf libraries
-====================
+ $ ../autobuilder/build/libmng1
-$ cd ~
+ $ ../autobuilder/build/oslib
-$ svn co svn://svn.netsurf-browser.org/trunk netsurf
+ B. NetSurf libraries
+----------------------
-$ (cd netsurf/libnsbmp ; make TARGET=riscos install)
+ Install the NetSirf project's libraries as follows.
-$ (cd netsurf/libnsgif ; make TARGET=riscos install)
+ $ cd ~
-$ (cd netsurf/libsvgtiny ; make TARGET=riscos install)
+ $ svn co svn://svn.netsurf-browser.org/trunk netsurf
-$ (cd netsurf/rufl ; make install)
+ $ (cd netsurf/libnsbmp ; make TARGET=riscos install)
-$ (cd netsurf/pencil ; make install)
+ $ (cd netsurf/libnsgif ; make TARGET=riscos install)
-$ (cd netsurf/libharu ; make TARGET=riscos PREFIX=/home/riscos/env)
+ $ (cd netsurf/libsvgtiny ; make TARGET=riscos install)
-$ cd netsurf/libparserutils
+ $ (cd netsurf/rufl ; make install)
-$ cat >Makefile.config.override
-CFLAGS += -DWITH_ICONV_FILTER
+ $ (cd netsurf/pencil ; make install)
-$ make TARGET=riscos install
+ $ (cd netsurf/libharu ; make TARGET=riscos PREFIX=/home/riscos/env)
-$ cd ~
+ $ cd netsurf/libparserutils
-$ (cd netsurf/hubbub ; make TARGET=riscos install)
+ $ cat >Makefile.config.override
+ CFLAGS += -DWITH_ICONV_FILTER
-C. Ancilliary tools
-===================
+ $ make TARGET=riscos install
+
+ $ cd ~
+
+ $ (cd netsurf/hubbub ; make TARGET=riscos install)
-$ svn co svn://svn.riscos.info/ccres/trunk ccres
+ C. Ancilliary tools
+---------------------
-$ (cd ccres ; make install)
+ $ svn co svn://svn.riscos.info/ccres/trunk ccres
-$ (cd netsurf/tools/makerun ; make install)
+ $ (cd ccres ; make install)
+
+ $ (cd netsurf/tools/makerun ; make install)
+
+
+ Compiling NetSurf
+===================
-Compiling NetSurf
-=================
+ Finally, to cross-compile NetSurf for RISC OS, do the following.
-$ cd netsurf/netsurf
+ $ cd netsurf/netsurf
-$ make TARGET=riscos
+ $ make TARGET=riscos