mirror of
https://github.com/radareorg/radare.git
synced 2026-11-07 06:36:03 -10:00
62 lines
1.4 KiB
Plaintext
62 lines
1.4 KiB
Plaintext
==================
|
|
Installation notes
|
|
==================
|
|
|
|
radare supports two kind of build systems: ACR and WAF
|
|
|
|
ACR is basically a minimalistic replacement of autotools written in shellscript.
|
|
You can get more information about it in:
|
|
|
|
http://nopcode.org/wk.php/Acr
|
|
or:
|
|
hg clone http://hg.youterm.com/acr
|
|
|
|
WAF is a modern work-in-progress python-based build system. Currently both systems are
|
|
known to work on most systems, but there are some issues for ACR on Windows, OpenSolaris,
|
|
and other proprietary systems. But it should properly work on all Free *nix systems like
|
|
GNU/Linux, NetBSD, OpenBSD, FreeBSD on 32/64 bits.
|
|
|
|
I recommend
|
|
|
|
If you experience any problem building radare. Please ping me to pancake<nopcode.org>
|
|
|
|
|
|
HOW TO COMPILE:
|
|
|
|
Standard way:
|
|
|
|
$ ./configure --prefix=/usr
|
|
$ make
|
|
$ sudo make install
|
|
|
|
Alternative (going to be deprecated, and probably buggy)
|
|
|
|
$ ./waf configure
|
|
$ ./waf
|
|
to clean the build, update waf or cleaning the db:
|
|
$ ./waf distclean
|
|
|
|
|
|
COMPILATION TIPS:
|
|
|
|
OpenSolaris (SunOS):
|
|
|
|
$ ./configure --prefix=/usr
|
|
$ gmake && gmake install INSTALL=ginstall
|
|
|
|
Mingw32:
|
|
|
|
$ CC=mingw32-gcc ./configure --enable-w32 --prefix=/usr/ --without-vala --without-gui
|
|
|
|
Desktop GNU/Linux:
|
|
|
|
$ ./configure --prefix=/usr --with-sysproxy
|
|
|
|
NetBSD box:
|
|
|
|
$ CFLAGS=-I/usr/pkg/include LDFLAGS=-Wl,-R/usr/pkg/lib ./configure --prefix=/usr/pkg
|
|
|
|
Other unixes
|
|
|
|
$ ./configure --prefix=/usr --without-vala --without-gui
|