1Statically Linking r2
2=====================
3
4Before you try to statically link r2, you should know about the licenses that go along with it, see doc/license for more information.
5
6Instructions
7------------
8
9In order to create a static library, configure with:
10
11	./configure --prefix=/usr --with-nonpic --without-pic
12
13or just run
14
15	sys/static.sh
16
17Android
18-------
19
20Bear in mind that the Android build is done statically to simplify distribution and speedup loading times (no need to dynamically resolve external symbols or load libraries). You can achieve this running the following script (for example):
21
22	sys/android-arm.sh
23
24The build environment for the NDK can be setup by using the:
25
26	sys/android-shell.sh arm
27