• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Cross-posting from Boost Users: Multi-arch build script for Boost 1.35 for OSX 10.5
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Cross-posting from Boost Users: Multi-arch build script for Boost 1.35 for OSX 10.5


  • Subject: Cross-posting from Boost Users: Multi-arch build script for Boost 1.35 for OSX 10.5
  • From: "Daniel Lord" <email@hidden>
  • Date: Sat, 7 Jun 2008 15:15:08 -0700

All,

I think not a few of us use the powerful and ever-growing in capability of the Boost LIbraries for C++. That is if we use "impure" Obj-C code by mixing in C++ for some things (like regex for instance) so I thought I'd just mention here that while Boost Build has a problem producing Boost library builds for the multi-arch (quad in particular--32- and 64-bit ppc and x86) static and shared libs, there is a solution.

I have written a  shell script to build static and shared libs from various combinations or 32- and 64-bit i386, ppc, ppc64, and x86_64 architectures using lower level bjam calls. It requires use of the 10.5 SDK while the default SDK for the stock Boost build on OS X is 10.4 SDK 10.4 won't build shared 64-bit libs flawlessly.

The script basically builds single-arch libs and stitches them together with lipo. It is no great feat but I figured since I spent the time I'd share to save others the drudgery.
I am sure it could be turned into Xcode build scripts but I haven't found the need yet and so I have not done the work.

Many thanks to the Boost developers who gave me a enough hints on this list to figure it all out.

If there is a wiki where I can post it, I can do that to make access easier.
If someone wants the script in the mean time, let me know.


Daniel

--
"It's not how many years you live--it's how much living you put in the years you have"
-- Sierra Mountain Guides newsletter
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Cross-posting from Boost Users: Multi-arch build script for Boost 1.35 for OSX 10.5
      • From: "William H. Schultz" <email@hidden>
  • Prev by Date: Old DWARF
  • Next by Date: Interface and Implementation File Placements
  • Previous by thread: Re: Old DWARF
  • Next by thread: Re: Cross-posting from Boost Users: Multi-arch build script for Boost 1.35 for OSX 10.5
  • Index(es):
    • Date
    • Thread