port the stats utility from Rusty Russell
[openadk.git] / docs / prerequisite.txt
blob8209abb82e4492f0d582257b5cae08d8b38634d2
1 // -*- mode:doc; -*-
2 // vim: set syntax=asciidoc:
4 [[requirement]]
5 System requirements
6 -------------------
8 OpenADK is designed to run on Linux systems. But there is basic 
9 support to run on MacOS X Maverick, Windows 7 with Cygwin, OpenBSD,
10 NetBSD and FreeBSD. Main development happens on Debian/GNU Linux 7
11 and MacOS X Maverick. The other host platforms are occasionally 
12 tested. 
14 OpenADK detects the host system and displays only the software
15 packages, which are known to be cross-compilable on the used host.
16 For example OpenJDK7 is only cross-compilable on a Linux host.
18 OpenADK needs some software to be already installed on the host
19 system; here is the list of the mandatory packages,
20 package names may vary between host systems.
22 * Build tools:
24 ** +bash+
25 ** +binutils+
26 ** +C compiler (gcc or clang)+ 
27 ** `C++ compiler (g++ or clang++)`
28 ** +GNU make+
29 ** +gzip+
30 ** +perl+
31 ** +tar+
32 ** +wget+
33 ** +ncurses5 development files+
34 ** +zlib development files+ 
35 ** +libc development files+
37 There is a check for the required versions of these tools in advance,
38 though. To re-issue the checks, use +make prereq+.
40 For some packages there are some optional packages required. OpenADK
41 will check for the required tools in advance, when a specific package is
42 choosen. For example Kodi needs Java installed on the host system.
43 OpenADK tries to avoid any optional required host tools and will try to
44 build them when needed.
46 For some host systems you can try to use ./scripts/adkprepare.sh to
47 install all required software. You need to run the script as root, it
48 will use the package management of your host to install the software.