Re: [Boost-bugs] [Boost C++ Libraries] #8266: context library don't compile for Mac OSX universal binary

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8266: context library don't compile for Mac OSX universal binary
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-12-29 20:52:49


#8266: context library don't compile for Mac OSX universal binary
-------------------------------------+-------------------------------------
  Reporter: Serguei E. Leontiev | Owner: olli
  <leo@…> | Status: closed
      Type: Bugs | Component: context
 Milestone: To Be Determined | Severity: Problem
   Version: Boost 1.53.0 | Keywords: mac osx universal
Resolution: fixed | binary
-------------------------------------+-------------------------------------

Comment (by marco.serantoni@…):

 In OSX you can compile for multiple platforms and the result is collapsed
 in a single object file/binary.
 To instruct the compiler to threat the file for multiple architectures you
 have to give -arch argument(s).
 I've solved propagating the user environment to the assembler that already
 contains the -arch that i need.

 So the compiler elaborate the assembly and insert it in the two -arch
 sections.

 Yes, this solves the issue.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/8266#comment:19>
Boost C++ Libraries <http://www.boost.org/>
Boost provides free peer-reviewed portable C++ source libraries.

This archive was generated by hypermail 2.1.7 : 2017-02-16 18:50:15 UTC