0

Currently i'm trying to compile libssh2 to run on the iPhone.

On my research i've found those instructions how to compile it. 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?

Staeff
  • 4,994
  • 6
  • 34
  • 58

1 Answers1

0

Did you try setting the CFLAGS and CPPFLAGS?

export CFLAGS=-m32
export CPPFLAGS=-m32
Mike
  • 323
  • 2
  • 7