0

目前我正在尝试编译 libssh2 以在 iPhone 上运行。

在我的研究中,我发现了如何编译它的那些说明。但是当我尝试它时,我总是得到

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

有什么想法有什么问题吗?或者任何已经编译过 libssh2 的人都可以为我上传编译过的文件吗?

4

1 回答 1

0

您是否尝试设置 CFLAGS 和 CPPFLAGS?

export CFLAGS=-m32
export CPPFLAGS=-m32
于 2011-01-29T18:50:51.373 回答