Lines Matching +full:mingw32 +full:- +full:make

2 Linux, *BSD & Solaris. We also show steps to cross-compile for Microsoft Windows.
10 *-*-*-*-*-*
25 pass the desired options on the commandline to ./make.sh. Currently,
28 - CAPSTONE_ARCHS: specify list of architectures to compiled in.
29 - CAPSTONE_USE_SYS_DYN_MEM: change this if you have your own dynamic memory management.
30 - CAPSTONE_DIET: use this to make the output binaries more compact.
31 - CAPSTONE_X86_REDUCE: another option to make X86 binary smaller.
32 - CAPSTONE_X86_ATT_DISABLE: disables AT&T syntax on x86.
33 - CAPSTONE_STATIC: build static library.
34 - CAPSTONE_SHARED: build dynamic (shared) library.
40 make.sh, as followings.
42 …S="arm aarch64 x86" CAPSTONE_USE_SYS_DYN_MEM=no CAPSTONE_DIET=yes CAPSTONE_X86_REDUCE=yes ./make.sh
44 NOTE: on commandline, put these values in front of ./make.sh, not after it.
54 - To compile for current platform, run:
56 $ ./make.sh
58 - On 64-bit OS, run the command below to cross-compile Capstone for 32-bit binary:
60 $ ./make.sh nix32
68 $ sudo ./make.sh install
72 $ su; ./make.sh install
80 NOTE: The core framework installed by "./make.sh install" consist of
98 (3) Cross-compile for Windows from *nix
100 To cross-compile for Windows, Linux & gcc-mingw-w64-i686 (and also gcc-mingw-w64-x86-64
101 for 64-bit binaries) are required.
103 - To cross-compile Windows 32-bit binary, simply run:
105 $ ./make.sh cross-win32
107 - To cross-compile Windows 64-bit binary, run:
109 $ ./make.sh cross-win64
116 (4) Cross-compile for iOS from Mac OSX.
118 To cross-compile for iOS (iPhone/iPad/iPod), Mac OSX with XCode installed is required.
120 - To cross-compile for ArmV7 (iPod 4, iPad 1/2/3, iPhone4, iPhone4S), run:
121 $ ./make.sh ios_armv7
123 - To cross-compile for ArmV7s (iPad 4, iPhone 5C, iPad mini), run:
124 $ ./make.sh ios_armv7s
126 - To cross-compile for Arm64 (iPhone 5S, iPad mini Retina, iPad Air), run:
127 $ ./make.sh ios_arm64
129 - To cross-compile for all iDevices (armv7 + armv7s + arm64), run:
130 $ ./make.sh ios
137 (5) Cross-compile for Android
139 To cross-compile for Android (smartphone/tablet), Android NDK is required.
142 $ NDK=/android/android-ndk-r10e ./make.sh cross-android arm
144 $ NDK=/android/android-ndk-r10e ./make.sh cross-android arm64
153 To compile under Cygwin gcc-mingw-w64-i686 or x86_64-w64-mingw32 run:
155 - To compile Windows 32-bit binary under Cygwin, run:
157 $ ./make.sh cygwin-mingw32
159 - To compile Windows 64-bit binary under Cygwin, run:
161 $ ./make.sh cygwin-mingw64
170 - To use "clang" compiler instead, run the command below:
172 $ ./make.sh clang
174 - To use "gcc" compiler instead, run:
176 $ ./make.sh gcc
182 $ sudo ./make.sh uninstall
193 these can be found at address http://capstone-engine.org/download.html