3

Like in the title : How do I build boost universal libraries for x86 and x64 architecture ?

Thanks

John
  • 15,990
  • 10
  • 70
  • 110
lollancf37
  • 1,105
  • 3
  • 15
  • 27

1 Answers1

5

Add architecture=combined to build both Intel and PowerPC. Add address-model=32_64 to build both x86 and x64 in one package. See Apple Darwin gcc

bjam toolset=darwin --with-... address-model=32_64 architecture=combined
Remus Rusanu
  • 288,378
  • 40
  • 442
  • 569
  • 2
    `toolset`, `address-model`, and `architecture` are features, and thus must not have leading `--`s. I.e., that should be `bjam toolset=darwin --with-... address-model=32_64 architecture=combined`. – ildjarn Aug 19 '11 at 19:16
  • @ildjarn: thanks, fixed my post. I did not had my Mac handy to validate first, sry – Remus Rusanu Aug 19 '11 at 19:26
  • @Remus : No worries, +1 now :-] – ildjarn Aug 19 '11 at 19:34