OSX雪豹:体形升压1.47.0 32位和64位 [英] OSX Snow Leopard: Build boost 1.47.0 for 32 and 64 bit

查看:255
本文介绍了OSX雪豹:体形升压1.47.0 32位和64位的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我要疯了......我目前想在OSX雪leopard.-从1.44.0我的项目助推升级到1.47.0我想用下面的命令来构建它:

I am going crazy...I am currently trying to upgrade boost for my project from 1.44.0 to 1.47.0 on osx snow leopard.- I want to build it with the following command:

./b2 macosx-version=10.6 link=static address-model=32_64 threading=multi stage

在这里我期望它给了我一个静态的,身材肥胖,支持I386作为藏汉x86_64的。不管怎么说,这显然不会,因为如果我查询脂-info 所产生的林达,他们都x86_64.-我能做些什么来解决这个问题?难道说构建脚本坏了?

where i'd expect that it gives me a static fat build that supports i386 aswell as x86_64 . Anyways, it obviously does not, since if i query lipo -info of the resulting libs, they are all x86_64.- What can I do to solve this? Could it be that the build script is broken?

推荐答案

我得到了它通过使用此版本的工作:

I got it to work by using this build:

./ B2链接=静态线程=多工具=达尔文CXXFLAGS = - 拱i386的-arch x86_64的MacOSX的版本= 10.6舞台

./b2 link=static threading=multi toolset=darwin cxxflags="-arch i386 -arch x86_64" macosx-version=10.6 stage

这篇关于OSX雪豹:体形升压1.47.0 32位和64位的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆