【问题标题】:How do I build boost universal libraries for x86 and x64 architecture?如何为 x86 和 x64 架构构建 boost 通用库?
【发布时间】:2011-08-19 16:25:32
【问题描述】:

如标题所示:如何为 x86 和 x64 架构构建 boost 通用库?

谢谢

【问题讨论】:

    标签: c++ macos boost 64-bit


    【解决方案1】:

    添加 architecture=combined 以构建 Intel 和 PowerPC。添加 address-model=32_64 以在一个包中构建 x86 和 x64。见Apple Darwin gcc

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

    【讨论】:

    • toolsetaddress-modelarchitecture 是特征,因此不能有前导 --s。即,应该是bjam toolset=darwin --with-... address-model=32_64 architecture=combined
    • @ildjarn:谢谢,修复了我的帖子。我没有方便先验证我的 Mac,sry
    • @Remus :不用担心,现在 +1 :-]
    猜你喜欢
    • 2010-09-23
    • 1970-01-01
    • 2010-12-19
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2011-11-29
    相关资源
    最近更新 更多