Skip to content

Commit

Permalink
update COMPILE.TXT
Browse files Browse the repository at this point in the history
  • Loading branch information
aquynh committed Nov 13, 2014
1 parent cc60d10 commit f85f981
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions COMPILE.TXT
Original file line number Diff line number Diff line change
Expand Up @@ -30,11 +30,13 @@ Capstone requires no prerequisite packages, so it is easy to compile & install.
- CAPSTONE_DIET: use this to make the output binaries more compact.
- CAPSTONE_X86_REDUCE: another option to make X86 binary smaller.
- CAPSTONE_X86_ATT_DISABLE: disables AT&T syntax on x86.
- CAPSTONE_STATIC: build static library.
- CAPSTONE_SHARED: build dynamic (shared) library.

By default, Capstone use system dynamic memory management, and both DIET and X86_REDUCE
modes are disable.
By default, Capstone uses system dynamic memory management, both DIET and X86_REDUCE
modes are disable, and builds all the static & shared libraries.

To avoid editing config.mk for these customization, can pass their values to
To avoid editing config.mk for these customization, we can pass their values to
make.sh, as followings.

$ CAPSTONE_ARCHS="arm aarch64 x86" CAPSTONE_USE_SYS_DYN_MEM=no CAPSTONE_DIET=yes CAPSTONE_X86_REDUCE=yes ./make.sh
Expand Down

0 comments on commit f85f981

Please sign in to comment.