Boost logo

Boost Users :

Subject: Re: [Boost-users] Problems of cross compiling: ar and ranlib tools naming
From: Mark Brand (mabrand_at_[hidden])
Date: 2011-11-26 05:35:09


On Fri, Nov 25, 2011 at 7:04 PM, Iron Bug <death.iron.bug_at_[hidden]> wrote:
> I'm trying to build full cross compiled toolchain and boost is almost
> ok, except of some details in static libs. The problem is that it uses
> patterns like
>
> $(command-string) -print-prog-name=ar (and ranlib as well)
>
> for getting the ar and ranlib for the toolset.
>
> But due to some bug in i686-w64-mingw32 and a whole bunch of similar
> instruments (on debian, ubuntu, etc) the XXX-gcc -print-prog-name=ar
> returns simply "ar", without tool prefix. Same about ranlib. And they
> seem not being apt to fix it:

...

You might want to look at mingw-cross-env [1] which includes boost. It
doesn't have 64-bit support yet though.

There's a link there to browse the development version. Look for file
src/boost.mk if you want to see the boost recipe.

Mark

[1] http://mingw-cross-env.nongnu.org/


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net