Skip to content

Instantly share code, notes, and snippets.

@raphkoebraam
Last active October 2, 2015 12:07
Show Gist options
  • Save raphkoebraam/bb7529366a25cba66c8f to your computer and use it in GitHub Desktop.
Save raphkoebraam/bb7529366a25cba66c8f to your computer and use it in GitHub Desktop.
Code snippet for configuring reSIProcate for arm64 - it's still under improvement and it will soon be ready for every architecture
#!/bin/sh
export CC="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-darwin"
export CPP="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -E"
export CXX="/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -target arm64-apple-darwin"
export CPPFLAGS="-target arm64-apple-darwin -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk/ -miphoneos-version-min=9.0"
export LDFLAGS="-target arm64-apple-darwin -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.0.sdk"
./configure --host=aarch64-apple-darwin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment