Re: [Boost-bugs] [Boost C++ Libraries] #11756: Unable to compile boost test library on openwrt - mips

Subject: Re: [Boost-bugs] [Boost C++ Libraries] #11756: Unable to compile boost test library on openwrt - mips
From: Boost C++ Libraries (noreply_at_[hidden])
Date: 2016-01-13 21:42:23


#11756: Unable to compile boost test library on openwrt - mips
----------------------------------+---------------------
  Reporter: bartosz.krasinski@… | Owner: rogeeff
      Type: Support Requests | Status: new
 Milestone: To Be Determined | Component: test
   Version: Boost 1.59.0 | Severity: Problem
Resolution: | Keywords:
----------------------------------+---------------------

Comment (by bartosz.krasinski@…):

 Yes, exactly

 It is because, i guess, first of all i build bootstrap in x86_64.

 ./bootstrap.sh

 next i build boost for x86_64 and x86 platforms (debian)

 ./b2 link=static variant=release --prefix=/work/libextern/boost-x86
 address-model=32 cxxflags=-fPIC install

 once again, thanks
 bartek


 ./b2 link=static variant=release --prefix=/work/libextern/boost-x64
 address-model=64 cxxflags=-fPIC install

 finally i create boost.config.jam file, in which i place:

 using gcc : mips : "mips-openwrt-linux-g++" ;

 and i build boost for mips:

 ./b2 toolset=gcc-mips link=static variant=release --prefix=/work/libextern
 /boost-mips cxxflags=-fPIC --user-config=user.config.jam install

 maybe I missed something that boost build system did not recognized
 correctly mips platform but now i will add manually mentioned macro and it
 is enough for me.

-- 
Ticket URL: <https://svn.boost.org/trac/boost/ticket/11756#comment:6>
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:19 UTC