boost交叉编译之iOS
2014-04-27 18:07
465 查看
it appears that two of the boost libraries fail (one of them is threading-multi) but I guess ogre doesn't use them so thats fine.
Actually use this one for now
Create a user configuration file
/Users/User-Name/user-config.jamusing darwin : 6.0~iphone : /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 -arch armv7 -mthumb -fvisibility=hidden -fvisibility-inlines-hidden : <striper> : <architecture>arm <target-os>iphone ; using darwin : 6.0~iphonesim : /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -arch i386 -fvisibility=hidden -fvisibility-inlines-hidden : <striper> : <architecture>x86 <target-os>iphone ;
Actually use this one for now
using darwin : 6.0~iphone : /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/llvm-gcc-4.2 -arch armv7 : <striper> : <architecture>arm <target-os>iphone ; using darwin : 6.0~iphonesim : /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/llvm-gcc-4.2 -arch i386 : <striper> : <architecture>x86 <target-os>iphone ;
run bootstrap.sh
./bootstrap.sh
build armv7
export SDK_VERSION="6.0" ./bjam --prefix=/users/User_Name/boost_arm_output toolset=darwin variant=release architecture=arm target-os=iphone macosx-version=iphone-${SDK_VERSION} define=_LITTLE_ENDIAN link=static install
build i386
export SDK_VERSION="6.0" ./bjam --prefix=/users/User_Name/boost_i386_output toolset=darwin variant=release architecture=x86 target-os=iphone macosx-version=iphonesim-${SDK_VERSION} link=static install
相关文章推荐
- boost 1.55.0 Xcode 5.1 iOS/iOSSim交叉编译iOS7.1
- ios10.1上 交叉编译 boost1_64_0
- Poco交叉编译之iOS
- 构建iOS交叉编译环境
- VS2013 win10下交叉编译boost 1.60
- Boost 的编译(交叉)安装 & cmake find_package(Boost)
- [iOS]Makefile交叉编译静态库TA-lib
- 跨平台交叉编译FFmpeg库(Android、IOS、S2L)
- iOS交叉编译opencore-amr
- 编译boost在ios上使用
- ios交叉编译dylib
- Linux下Boost交叉编译
- ios交叉编译参数
- ios/android交叉编译参数设置
- arm-linux-gcc交叉编译boost
- 基于mini2440嵌入式linux上整合一套Domoticz智能家居系统(五)交叉编译并安装zlib、curl、boost和domoticz
- 跨平台交叉编译libevhtp库(Android、iOS)
- 交叉编译boost和opencv
- ios boost编译
- (跨平台)cocos2d-x C++ or Object-C(前端)调用C# webservices(后台),实现交叉编译到Android/IOS/WinPhone等移动终端设备