Boost logo

Boost-Build :

Subject: Re: [Boost-build] Built tools and cross compiling
From: Tom (tabsoftwareconsulting_at_[hidden])
Date: 2015-12-19 00:27:22


Hi Steven,

Steven Watanabe <watanabesj <at> gmail.com> writes:

> On 12/18/2015 09:43 PM, Tom wrote:
> >
> > I have a problem trying to use a built tool to modify a target
> > compiled for another platform.
> >
> > I've created a standalone project that shows the issue I am
> > having, along with a README.md trying to describe it.
> >
> > https://github.com/tee3/boost-build-questions/tree/master/built-tool-cross
> >
> > Can you see what I'm doing wrong here? Do you think this
> > should be possible in general?
>
> I'll take a better look in the morning,

Thanks for responding so quickly!

> but off the top of my head, this is probably
> a bug and the most likely culprit is that
> the gcc version isn't set correctly when
> you change the toolset. (The subfeature
> is named <toolset-gcc:version>)

You are right, though the actual cause of that problem was that I was
using the gcc toolset on OS X instead of the darwin toolset. After fixing
that, I still don't understand why the cross-final target is placed in the
location of the built tool, not the cross target.

I've updated the project to reflect the updated information.

Thanks,
Tom


Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk