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 15:07:10
#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@â¦):
Build the static binary i've got an issue.
Object file is created for a single architecture, then in the .a archive
you''ll find only one architecture (in my case x86_64).
darwin.compile.asm is insensible to user directives so i've no way to add
my "-arch i386 -arch x86_64" directives
So I've to patch my 1.54 release adding the options (cflags) to the darwin
build.
I Don't know if is the right way to do it, but i'm sure you could be
something better.
=== modified file 'tools/build/v2/tools/gcc.jam'
--- tools/build/v2/tools/gcc.jam 2013-12-29 13:13:00 +0000
+++ tools/build/v2/tools/gcc.jam 2013-12-29 14:36:31 +0000
@@ -635,7 +635,7 @@
actions compile.asm
{
- "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) -D$(DEFINES) -I"$(INCLUDES)"
-c -o "$(<)" "$(>)"
+ "$(CONFIG_COMMAND)" $(LANG) $(OPTIONS) -D$(DEFINES) $(USER_OPTIONS)
-I"$(INCLUDES)" -c -o "$(<)" "$(>)"
}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8266#comment:11> 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