- export CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.0.1
- export CFLAGS="-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk"
- export LDFLAGS="-isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk -Wl,-syslibroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk"
- export CPP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp
-./configure --host=arm-apple-darwin9 --disable-shared --without-ssl --without-ldap --without-libssh2 --disable-ldap
then modify config.h and comment #define HAVE_STRERROR_R 1
- make
should compile with curl-7.19.0
Aucun commentaire:
Enregistrer un commentaire