|
Boost-Build : |
Subject: Re: [Boost-build] cross compiling linux boost libraries
From: Moritz Hassert (mhassert_at_[hidden])
Date: 2010-09-21 09:51:51
Hi,
Am Montag, 12. Juli 2010, um 09:48:08 schrieb Vladimir Prus:
> > In your case the toolset 'gcc-mips' is most likely not known to
> > boost-build. That is, it does not have a gcc with version 'mips'
> > configured. But instead of complaining it tries to auto-configure that
> > compiler. And if it cannot find an executable 'g++-mips' or something
> > like that it will fall back to the default command for toolset gcc,
> > which is of cause 'g++'.
>
> That's an outright bug, I guess. Care to file it in the tracker?
Sorry for the long delay, I finally found the time to look into this problem
again.
I have filed a bug report:
https://svn.boost.org/trac/boost/ticket/4667
Please have a look at the attached patch.
Note that what I wrote above about the 'gcc-mips' problem isn't exactly true.
There is no auto detection of a command "g++-mips" at all. The default "g++"
is always used when no explicit command is given.
But as I thought about it, such an auto detection seemed quite usefull and
straight forward to me, so I added it in my patch.
Greetings
Moritz
-- -- AB+M GmbH Haid-und-Neu-Straße 7 76131 Karlsruhe Telefon: (0721) 66488-0 Telefax: (0721) 66488-18 Geschaeftsfuehrer: Dipl.-Inform. Christopher Asp Amtsgericht Mannheim HRB 105845
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