Revision: 6060 http://sourceforge.net/p/smartbody/code/6060 Author: fastict Date: 2015-05-01 02:19:50 +0000 (Fri, 01 May 2015) Log Message: ----------- branch - ios - newly compiled python for ios 8. compiled by me
platform: OSX 10.10.3 Xcode 6.3.1 iOS 8.3 Steps documented here: https://confluence.ict.usc.edu/pages/viewpage.action?pageId=16778697#BuildingtheToolkit-3rdPartyInstructions.1 ------- 9. Python 2.7.3 https://www.python.org/download/releases/2.7.3/ https://www.python.org/ftp/python/2.7.3/Python-2.7.3.tgz tar zxvf Python-2.7.3.tgz download .patch file https://gist.githubusercontent.com/bmount/6929380/raw/baa4479c9937ea14c581767ec016ce04dfebf72f/Python-2.7.3-xcompile.patch patch -p1 < Python-2.7-xcompile.patch will report errors, but will succeed enough create file setup.sh: export SDKROOT=/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk export TOOLCHAIN=/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain #export CLANG_VERBOSE="--verbose" export CPPFLAGS="$CLANG_VERBOSE -arch armv7 -pipe -miphoneos-version-min=6.0 -isysroot $SDKROOT" export CFLAGS="$CLANG_VERBOSE -arch armv7 -pipe -miphoneos-version-min=6.0 -isysroot $SDKROOT -g -O0 -std=c99 -fPIC" export CXXFLAGS="$CLANG_VERBOSE -arch armv7 -pipe -miphoneos-version-min=6.0 -isysroot $SDKROOT -g -O0 -std=c++11 -stdlib=libc++ -fPIC -fcxx-exceptions" export LDFLAGS="-arch armv7 -miphoneos-version-min=6.0 -stdlib=libc++ -L$SDKROOT/usr/lib -L$SDKROOT/usr/lib/system" #export LIBS="-lc++ -lc++abi" export CPP="$TOOLCHAIN/usr/bin/clang -E" export CXX="$TOOLCHAIN/usr/bin/clang++" export CC="$TOOLCHAIN/usr/bin/clang" export LD="$TOOLCHAIN/usr/bin/ld" export RANLIB="$SDKROOT/../../usr/bin/ranlib" ./configure --build=x86_64-apple-darwin --host="arm-apple-darwin" --disable-toolbox-glue run ./setup.sh make HOSTPYTHON=./hostpython HOSTPGEN=./Parser/hostpgen CROSS_COMPILE_TARGET=yes will report errors but will succeed enough to get the *.a copy \libpython2.7.a to \ios\libs\iphoneos Modified Paths: -------------- branches/fast/smartbody-toolkit-5542/ios/libs/iphoneos/libpython2.7.a This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. ------------------------------------------------------------------------------ One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y _______________________________________________ Smartbody-svn mailing list Smartbody-svn@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/smartbody-svn