如何为x86和x64架构构建boost通用库?

3

如标题所述:我该如何为x86和x64架构构建通用的boost库?

谢谢。

1个回答

5

在构建过程中添加architecture=combined可同时构建Intel和PowerPC。添加address-model=32_64可在一个软件包中构建x86和x64。详情请参见Apple Darwin gcc

bjam toolset=darwin --with-... address-model=32_64 architecture=combined

2
toolsetaddress-modelarchitecture是功能,因此不能有前导的--。也就是说,应该是bjam toolset=darwin --with-... address-model=32_64 architecture=combined - ildjarn
@ildjarn:谢谢,我已经修复了我的帖子。抱歉没有我的 Mac 方便先验证。 - Remus Rusanu
@Remus:不用担心,现在+1了 :-] - ildjarn

网页内容由stack overflow 提供, 点击上面的
可以查看英文原文,
原文链接