summaryrefslogtreecommitdiff
path: root/README
blob: 4c8797ccbfaad78c250a4c8ae8223db80eea7fd3 (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
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

 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