Currently i'm trying to compile libssh2 to run on the iPhone.
On my research i've found those instructions how to compile i开发者_如何学运维t. But when i try it i always get
configure: error: C preprocessor "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp" fails sanity check
any ideas whats wrong? or can any one who already compiled libssh2 upload the compiled files for me?
Did you try setting the CFLAGS and CPPFLAGS?
export CFLAGS=-m32
export CPPFLAGS=-m32
精彩评论