Skip to content

Instantly share code, notes, and snippets.

@j0sh
Created August 20, 2014 02:41
Show Gist options
  • Select an option

  • Save j0sh/889a9ef6882cb3bf5194 to your computer and use it in GitHub Desktop.

Select an option

Save j0sh/889a9ef6882cb3bf5194 to your computer and use it in GitHub Desktop.
./configure --enable-cross-compile --arch=aarch64 --target-os=darwin \
--cc=`xcrun -f --sdk iphoneos7.1 clang` \
--as=/usr/local/bin/gas-preprocessor.pl \
--extra-cflags='-arch arm64' \
--extra-ldflags='-arch arm64 -miphoneos-version-min=7.0' \
--sysroot=`xcrun --sdk iphoneos7.1 --show-sdk-path` \
--cpu=generic
@lu-zero
Copy link
Copy Markdown

lu-zero commented Aug 20, 2014

You need to pass the as you want to feed

--as="/usr/local/bin/gas-preprocessor.pl clang"

makes it working as supposed as explained in the gas-preprocessor.pl page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment