Boost logo

Boost-Build :

Subject: Re: [Boost-build] cross compiling linux boost libraries
From: Moritz Hassert (mhassert_at_[hidden])
Date: 2010-09-21 09:51:51


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

I have filed a bug report:

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.


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, david.abrahams at, gregod at, cpdaniel at, john at