|
Boost-Build : |
Subject: Re: [Boost-build] Patch for building Boost 1.40 on Mac OS X Snow Leopard
From: Michael Jackson (mike.jackson_at_[hidden])
Date: 2009-10-14 10:26:57
I applied bits and pieces of your patch on an OS X 10.5.8 Intel system
and am currently compiling boost 1.40.0.
Wondering if this patch can make it into the boost 1.40.1 release or
what ever patch release is coming out next.
This was my command:
bjam toolset=darwin --with-test --with-filesystem --with-
program_options --with-iostreams --with-thread variant=release,debug
threading=multi link=static runtime-link=shared --prefix=/Users/Shared/
Toolkits/boost-1_40/ -layout=tagged architecture=combined address-
model=32_64 install
-- Mike Jackson <www.bluequartz.net> On Oct 2, 2009, at 12:58 PM, Michael Jackson wrote: > Part of your statements need some clarification: > > The version of GCC that OS X 10.6 ships with (4.2.x) WILL indeed > create 4-way binaries (32 and 64 Bit PPC and x86) when using the > 10.5 SDK which is entirely possible for someone to do considering > that a developer is using OS X 10.6 but wants to target earlier > versions of OS X running on Both PPC and Intel hardware. > > I have not looked at the patches but you will probably need to > interrogate what SDK the developer is using before hard-setting any > rules about what arguments can and can not be used. > > _________________________________________________________ > Mike Jackson mike.jackson_at_[hidden] > BlueQuartz Software www.bluequartz.net > Principal Software Engineer Dayton, Ohio > > On Oct 2, 2009, at 11:11 AM, Stuart A. Malone wrote: > >> Today I took the time to patch my local copy of Boost 1.40 to allow >> building under Snow Leopard. You can see discussions about this >> problem in places like: >> >> <http://continuous.wordpress.com/2009/09/06/building-boost-on-mac-os-x-10-6-with-xcode-3-2/ >> > >> >> <http://archives.free.net.ph/message/ >> 20090903.114048.e961e539.en.html> >> >> My patches address two problems: >> >> - The -m64 option is incompatible with the generation of 32-bit >> binaries >> >> - Versions of Apple's gcc 4.2 and later do not support generation >> of ppc64 binaries >> >> Since my company uses both gcc 4.0 and gcc 4.2, I wanted a solution >> that still supports ppc64 binaries when using gcc 4.0, but avoids >> creating ppc64 binaries under gcc 4.2 and later. I believe these >> patches solve the problem and provide optimal behavior under both >> Leopard and Snow Leopard, gcc 4.0 and 4.2.1. >> >> >> Best wishes, >> >> --Stuart A. Malone >> Llamagraphics, Inc. >> Makers of Life Balance personal coaching software >> http://www.llamagraphics.com/ >> >> >> <snow-leopard- >> patch.txt>_______________________________________________ >> Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build >
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk