• 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
Re: Building boost x86_64
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building boost x86_64


  • Subject: Re: Building boost x86_64
  • From: Hugh Hoover <email@hidden>
  • Date: Thu, 15 Nov 2007 20:46:14 -0800


On Nov 15, 2007, at 1:17 PM, Brian Arnold wrote:

Hi,

Does anyone have experience building the current boost 1_34_1 sources for
Intel x86_64 using its v2 build infrastructure (boost jam or bjam)?

I've been building an "obese" set of libs for a couple of months - I've got it building i386, ppc, x86_64 and ppc64.
In order to do that, I modified my tools/build/v2/tools/darwin.jam with the following changes:
(mostly from the ADOBE changes for the graphical toolkit submission)


> feature sdkroot : 10.5 10.4 10.3.9 : propagated link-incompatible ;
> flags darwin.compile OPTIONS <sdkroot>10.5 : -isysroot /Developer/ SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 ;
> flags darwin.link OPTIONS <sdkroot>10.5 : -isysroot /Developer/SDKs/ MacOSX10.5.sdk -mmacosx-version-min=10.5 ;
> flags darwin.compile OPTIONS <sdkroot>10.4 : -isysroot /Developer/ SDKs/MacOSX10.4u.sdk -mmacosx-version-min=10.4 ;
> flags darwin.link OPTIONS <sdkroot>10.4 : -isysroot /Developer/SDKs/ MacOSX10.4u.sdk -mmacosx-version-min=10.4 ;
> flags darwin.compile OPTIONS <sdkroot>10.3.9 : -isysroot /Developer/ SDKs/MacOSX10.3.9.sdk -mmacosx-version-min=10.3.9;
> flags darwin.link OPTIONS <sdkroot>10.3.9 : -isysroot /Developer/ SDKs/MacOSX10.3.9.sdk -mmacosx-version-min=10.3.9 ;
>
> feature arch : native ppc i386 ppc64 x86_64 fat : composite propagated ;
> flags darwin.compile OPTIONS <arch>fat : -arch i386 -arch ppc -arch ppc64 -arch x86_64 ;
> flags darwin.link OPTIONS <arch>fat : -arch i386 -arch ppc -arch ppc64 -arch x86_64 ;


(other arch options excised)

and to get the static libs to link properly:

94c152,153
<     ar -c -r -s $(ARFLAGS) "$(<:T)" "$(>:T)"
---
> 	libtool -static  -o "$(<:T)"  $(ARFLAGS)  "$(>:T)"


This all seems to work fine for 10.4 and 10.5, I've not tested on 10.3


Hugh Hoover Enumclaw Software

_______________________________________________
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


References: 
 >Building boost x86_64 (From: Brian Arnold <email@hidden>)

  • Prev by Date: Name Quoting Issues & The Ohms Character
  • Next by Date: Re: Time machine backing up temporary binary files.
  • Previous by thread: Building boost x86_64
  • Next by thread: Built-in help for things like Info.plist keys?
  • Index(es):
    • Date
    • Thread