Skip to content

Instantly share code, notes, and snippets.

@torus
Created June 18, 2009 10:45
Show Gist options
  • Save torus/131842 to your computer and use it in GitHub Desktop.
Save torus/131842 to your computer and use it in GitHub Desktop.
./configure \
--enable-threads=none \
--host=arm-apple-darwin9 \
--target=arm-apple-darwin9 \
CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.0 \
CPP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp \
CXXCPP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp \
CXX=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4.0 \
AR=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar \
RANLIB=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ranlib \
NM=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/nm \
CFLAGS="-arch armv6 -pipe -std=c99 -Wno-trigraphs -fpascal-strings \
-fasm-blocks -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 \
-miphoneos-version-min=2.0 -gdwarf-2 \
-I/Library/iPhone/include \
-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.sdk" \
LDFLAGS="-arch armv6 -pipe -std=c99 -gdwarf-2 \
-I/Library/iPhone/include \
-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk" \
CXXFLAGS="-arch armv6 -pipe -std=c99 -Wno-trigraphs -fpascal-strings \
-fasm-blocks -O0 -Wreturn-type -Wunused-variable -fmessage-length=0 \
-miphoneos-version-min=2.0 -gdwarf-2 \
-I/Library/iPhone/include \
-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.2.sdk \
host_alias=arm-apple-darwin9 target_alias=arm-apple-darwin9 \
--no-create --no-recursion"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment