目前,我正在尝试编译libssh2以在iPhone上运行。
在我的研究中,我发现了those instructions如何编译它。但是当我尝试的时候我总是得到
configure: error: C preprocessor "/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp" fails sanity check
你知道怎么回事吗?或者已经编译过libssh2的人可以帮我上传编译后的文件吗?
发布于 2011-01-30 02:50:51
您有没有尝试设置CFLAGS和CPPFLAGS?
export CFLAGS=-m32
export CPPFLAGS=-m32https://stackoverflow.com/questions/4298776
复制相似问题