2010-11-28 103 views
0

目前我正在嘗試編譯libssh2以在iPhone上運行。爲iPhone編譯libssh2失敗

在我的研究中,我發現了those instructions如何編譯它。但是當我嘗試它,我總是得到

configure: error: C preprocessor "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp" fails sanity check

任何想法什麼是錯?或者任何已經編譯libssh2的人都可以爲我上傳編譯後的文件?

回答

0

你試過設置CFLAGS和CPPFLAGS嗎?

export CFLAGS=-m32 
export CPPFLAGS=-m32