Subject: Re: [Boost-bugs] [Boost C++ Libraries] #8592: Cross compiling on OS X to linux gets the shared object name wrong
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2013-06-20 16:46:11
#8592: Cross compiling on OS X to linux gets the shared object name wrong
-------------------------------+----------------------------
Reporter: per@⦠| Owner:
Type: Bugs | Status: new
Milestone: To Be Determined | Component: Building Boost
Version: Boost 1.49.0 | Severity: Problem
Resolution: | Keywords:
-------------------------------+----------------------------
Comment (by anonymous):
Had the same issue with 1_47_0 on Mac. Fixed by adding target-os=linux to
the ./b2 --toolset option.
{{{
Index: Makefile
===================================================================
--- Makefile (revision 36978)
+++ Makefile (working copy)
@@ -194,7 +194,7 @@
bjam \
'-sBUILD=release <optimization>space <inlining>on
<debug-symbols>off' \
$(filter -j%,$(PKG_JOBS)) \
- --toolset=gcc-$(ARCH) --build-type=minimal
--layout=system \
+ --toolset=gcc-$(ARCH) target-os=linux --build-
type=minimal --layout=system \
--disable-long-double \
$(CONFIGURE_ARGS) \
$(if $(CONFIG_PACKAGE_boost-chrono),,--without-
chrono) \
}}}
-- Ticket URL: <https://svn.boost.org/trac/boost/ticket/8592#comment:3> 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:13 UTC