开发者

Compilation of libssh2 for the iPhone fails

开发者 https://www.devze.com 2023-01-27 03:08 出处:网络
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

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
0

精彩评论

暂无评论...
验证码 换一张
取 消