Boost logo

Boost-Build :

Subject: Re: [Boost-build] Cross-compiling
From: Vladimir Prus (ghost_at_[hidden])
Date: 2008-10-01 05:44:07


On Wednesday 01 October 2008 11:50:56 Jürgen Hunold wrote:
> Hi Volodya !
>
> An'n Montag 29 September 2008 hest Du schreven:
> > On Monday 29 September 2008 22:48:33 Juergen Hunold wrote:
> > > Fix checked in: http://svn.boost.org/trac/boost/changeset/49026
> >
> > Doh! Thanks for the quick fix.
>
> You're welcome. But now I got something strange:
>
> > > > If somebody could give it an independent try, this would be much
> > > > appreciated.
> > >
> > > Nice. I'd like to test that, but have "real work" ahead. But
> > > cross-compiling for windows with gcc is a long term goal.
>
> I've installed mingw-4.3. from Sourceforge and configured
>
> using gcc : : # compile-command
> i386-mingw32-g++
> # <compiler>/usr/local/bin/i386-mingw32-g++
>
> in user-config.jam
>
> The build command starts with two (2) compiler commands:
>
> "i386-mingw32-g++" "g++"
>
> (see full debug log attached, slighty altered :-))
>
> Another hint:
> If I try to explicitly specify the compiler via <compiler>i386-mingw32-g++
> then _no_ compiler command is issued.
>
> Investigatin further, but ideas welcome :-)

I know what's going on here, but first -- what is you exact command line?
Does the problem go away if you use:

        toolset=gcc-<whatever version your mingw compiler is>

as opposed to

        toolset=gcc-<version>-mingw

or whatever you have now?

- Volodya


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