update COMPILE & README for FreeBSD support
diff --git a/COMPILE b/COMPILE
index 6272343..83f22da 100644
--- a/COMPILE
+++ b/COMPILE
@@ -5,13 +5,17 @@
Capstone requires no prerequisite packages, so it is easy to compile & install.
-(1) On Linux, Mac OSX or *nix:
+(1) On *nix (such as MacOSX, Linux & FreeBSD):
- To compile for current platform, run either:
$ ./compile.sh
or:
$ make
+ For FreeBSD, use 'gmake' instread of 'make':
+
+ $ gmake
+
Then run "./tests/test*" to see the tests disassembling sample code.
- On 64-bit OS, run command below to cross-compile Capstone for 32-bit binary:
@@ -26,6 +30,10 @@
$ sudo make install
+ For FreeBSD, use 'gmake' instead of 'make':
+
+ $ sudo gmake install
+
Users are then required to enter root password to copy Capstone into machine
system directories.