[cfe-dev] NOOB Cross compiling for iOS

jj2005 jj2005 at mac.com
Sun Sep 2 09:36:32 PDT 2012


I have been struggling for weeks to cross compile some unix to run on
I must admit I thought this would be a simple task but it seems I am clearly
not experienced enough to figure this out by myself, so her I am in the
hopes someone would help me!!

I was trying to configure EIBD
with the help of http://sourceforge.net/apps/trac/bcusdk/wiki/CrossCompiling  

I soon found out that Clang was necessary, anyways I tried the following: 


CPPFLAGS="-L/temp/include" LDFLAGS="-L/temp/lib" ./configure
--host=armv7-apple-darwin --target=armv7-apple-darwin
--build=i386-apple-darwin  --enable-onlyeibd --with-pth=/temp --prefix=/temp

And everything seems to be okay, but I still end up with a 64 bit binary??,
please, please, please what am I doing wrong??

View this message in context: http://clang-developers.42468.n3.nabble.com/NOOB-Cross-compiling-for-iOS-tp4026492.html
Sent from the Clang Developers mailing list archive at Nabble.com.

More information about the cfe-dev mailing list