mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-11 23:16:05 +00:00
16 lines
502 B
Plaintext
16 lines
502 B
Plaintext
Building for the browser
|
|
========================
|
|
|
|
$ git clone git://github.com/kripken/emscripten.git
|
|
$ export PATH=/path/to/emscripten:$PATH
|
|
$ ./configure --without-ewf --without-gmp --with-nonpic --without-pic
|
|
$ emmake make
|
|
|
|
cd binr/radare2
|
|
emcc ../../libr/*/*.o radare2.c -I ../../libr/include/ -DR2_BIRTH=\"pop\" -DR2_GITTIP=\"123\" ../../libr/db/sdb/src/*.o
|
|
|
|
make clean
|
|
export CC="emcc --ignore-dynamic-linking"
|
|
./configure --prefix=/usr --disable-shared --enable-static --disable-debugger
|
|
make
|