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

Building boost x86_64


  • Subject: Building boost x86_64
  • From: Brian Arnold <email@hidden>
  • Date: Thu, 15 Nov 2007 16:17:07 -0500
  • Thread-topic: Building boost x86_64

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)?

Back with 1_33_1 sources, I was able to send the -arch x86_64 flag through
the sBUILD variable like this (split onto multiple lines):

 sBUILD+=
  <cxxflag>-arch<cxxflag>x86_64
  <linkflag>-arch<linkflag>x86_64

In the new bjam, on other 64-bit platforms (Windows, Linux, Solaris), if I
add "address-model=64" the right thing happens and -m64 is added, which
would be close enough, but it seems to be getting dropped for Darwin (OS X).
If I add architecture=x86, then -m64 is added, but then it also adds
-march=i386, which conflicts with -m64.  Using cxxflag / linkflag directly
fails to pass anything to the compiler.

I tried adding 'instruction-set=nocona' (Xeon), and this successfully
compiles (passing -march=nocona), but is that correct for both Core 2 Duo
and Xeon?  What's the right "generic" 64-bit instruction-set for Apple Intel
64-bit hardware that Apple gcc understands?

- Brian

 _______________________________________________
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: Building boost x86_64
      • From: Hugh Hoover <email@hidden>
  • Prev by Date: Re: troubles with including an .so file
  • Next by Date: Re: script build phase + external target
  • Previous by thread: Re: Where can I find a 10.2 sdk?
  • Next by thread: Re: Building boost x86_64
  • Index(es):
    • Date
    • Thread