I am trying to (cross-compile) compile obfuscated-openssh for iPhone, and I am having some problems. I use this to configure the assembly:
./configure --host=arm-apple-darwin CC=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/arm-apple-darwin9-gcc-4.0.1 \ CFLAGS="-arch armv6 -pipe -std=c99 -I/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk/usr/include \ -L/Users/ben/iphonelib -Wno-trigraphs -fpascal-strings -fasm-blocks -O0 -Wreturn-type \ -Wunused-variable -fmessage-length=0 -fvisibility=hidden \ -miphoneos-version-min=2.0 -gdwarf-2 -mthumb \ -isysroot /Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS2.0.sdk" \ CPP=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/cpp \ AR=/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/ar
This does not work, but complains that many header files could not be found, including netinet/in_systm.h and openssl/bn.h Anyone have any ideas on how to complete the build?
iphone openssh cross-compiling
Sophie alpert
source share