• Home
  • Raw
  • Download

Lines Matching +full:x86_64 +full:- +full:w64 +full:- +full:mingw32

4 # By Nguyen Anh Quynh <aquynh@gmail.com>, 2013-2014
6 # Note: to cross-compile "nix32" on Linux, package gcc-multilib is required.
11 IOS_SDK=`xcrun --sdk iphoneos --show-sdk-path`
12 IOS_CC=`xcrun --sdk iphoneos -f clang`
13 IOS_CFLAGS="-Os -Wimplicit -isysroot $IOS_SDK"
14 IOS_LDFLAGS="-isysroot $IOS_SDK"
26 if [ -z "$NDK" ]; then
30 HOSTOS=$(uname -s | tr 'LD' 'ld')
31 HOSTARCH=$(uname -m)
38 [ -n "$APILEVEL" ] || APILEVEL="android-14" # default to ICS
39 [ -n "$GCCVER" ] || GCCVER="4.8"
40 CROSS=arm-linux-androideabi-
43 [ -n "$APILEVEL" ] || APILEVEL="android-21" # first with arm64
44 [ -n "$GCCVER" ] || GCCVER="4.9"
45 CROSS=aarch64-linux-android-
54 TOOLCHAIN="$NDK/toolchains/$CROSS$GCCVER/prebuilt/$HOSTOS-$HOSTARCH"
55 PLATFORM="$NDK/platforms/$APILEVEL/arch-$TARGARCH"
57 …CROSS="$TOOLCHAIN/bin/$CROSS" CFLAGS="--sysroot=$PLATFORM" LDFLAGS="--sysroot=$PLATFORM" ${MAKE} $*
62 if [ $(uname -s) = Darwin ]; then
63 export LIBARCHS="i386 x86_64"
66 if [ -n "$CC" ]; then
77 rm -rf /usr/lib/libcapstone.*
78 rm -rf /usr/include/capstone
82 PKGCFGDIR="$(pkg-config --variable pc_path pkg-config | cut -d ':' -f 1)"
83 # set PKGCFGDIR only in non-Brew environment & pkg-config is available
98 if test -d /usr/lib64; then
99 if [ -n "$CC" ]; then
105 if [ -n "$CC" ]; then
118 PKGCFGDIR="$(pkg-config --variable pc_path pkg-config | cut -d ':' -f 1)"
126 if test -d /usr/lib64; then
152 … CAPSTONE_USE_SYS_DYN_MEM=yes CAPSTONE_STATIC=yes CFLAGS='-O0 -g -fsanitize=address' LDFLAGS='-fsa…
155 "nix32" ) CFLAGS=-m32 LDFLAGS=-m32 build $*;;
156 "cross-win32" ) CROSS=i686-w64-mingw32- build $*;;
157 "cross-win64" ) CROSS=x86_64-w64-mingw32- build $*;;
158 "cygwin-mingw32" ) CROSS=i686-pc-mingw32- build $*;;
159 "cygwin-mingw64" ) CROSS=x86_64-w64-mingw32- build $*;;
160 "cross-android" ) build_android $*;;
167 …"osx-kernel" ) CAPSTONE_USE_SYS_DYN_MEM=yes CAPSTONE_HAS_OSXKERNEL=yes CAPSTONE_ARCHS=x86 CAPSTONE…
168 …: make.sh [nix32|cross-win32|cross-win64|cygwin-mingw32|cygwin-mingw64|ios|ios_armv7|ios_armv7s|io…