File: android

package info (click to toggle)
radare2 0.9.6-3.1%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 17,496 kB
  • ctags: 45,959
  • sloc: ansic: 240,999; sh: 3,645; makefile: 2,520; python: 1,212; asm: 312; ruby: 214; awk: 209; perl: 188; lisp: 169; java: 23; xml: 17; php: 6
file content (36 lines) | stat: -rw-r--r-- 752 bytes parent folder | download | duplicates (2)
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
r2 on android
=============
Install NDK in archlinux x86-64
 - Enable multilib repo in pacman.conf
 - pacman -S lib32-glibc lib32-zlib

To build r2 for android you need to install the NDK:

  http://developer.android.com/tools/sdk/ndk/index.html

Edit ~/.r2androidrc to setup the paths to your ndk

  sys/android-shell.sh
  ./configure --with-compiler=android --with-ostype=android --without-ssl --prefix=/data/radare2 --without-pic --with-nonpic --without-gmp
  make -j 4

To compile for android-x86

  export NDK_ARCH=x86

To package:

  mkdir 
  make install DESTDIR=/usr

Build farm

  See sys/android-shell.sh and sys/android-build.sh

  sys/android-shell.sh sys/android-build.sh arm-static


Environment:

   NDK_ARCH=arm|x86
   STATIC_BUILD=0|1