summaryrefslogtreecommitdiff
path: root/README
blob: c6dfb4fd40b2315cd724a98d3fa8f97464cd670f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
NetSurf Toolchain builds

Pre-requisites for Debian systems
---------------------------------

	$ apt-get install build-essential autoconf automake autogen flex bison
	$ apt-get install libtool texinfo help2man subversion cvs git
	$ apt-get install lhasa unzip autoconf2.64 automake1.11

 If you've not got automake 1.15 by default, you'll need:

        $ apt-get install automake-1.15

 On multiarch-aware systems:

	$ dpkg --add-architecture i386
	$ apt-get update
	$ apt-get install gcc-multilib

RISC OS
-------

It is important that the output prefix (/opt/netsurf by default) is writable 
 or use sudo to do the make

	$ make -C arm-unknown-riscos
	$ GCCSDK_INSTALL_CROSSBIN=/opt/netsurf/arm-unknown-riscos/cross/bin GCCSDK_INSTALL_ENV=/opt/netsurf/arm-unknown-riscos/env make -C sdk


Windows
-------

The mingw cross build toolchain is made by

	$ make -C i686-w64-mingw32
	$ GCCSDK_INSTALL_CROSSBIN=/opt/netsurf/i686-w64-mingw32/cross/bin GCCSDK_INSTALL_ENV=/opt/netsurf/i686-w64-mingw32/env make -C sdk