Boost logo

Boost-Build :

From: Juergen Hunold (hunold_at_[hidden])
Date: 2006-04-14 10:24:37


Hi !

On Friday 14 April 2006 15:38, Rene Rivera wrote:
> Vladimir Prus wrote:
> > On Friday 14 April 2006 15:37, Juergen Hunold wrote:
> >> Hi !
> >
> > Hi Jürgen,
> >
> >> I've finally got a developer account and have an up-to-date boost
> >> CVS again ;-))
> >> I promptly discovered that revision 1.9 of rc.jam breaks the dummy
> >> support for the rc.jam on Linux (see rev. 1.5 ) (and the other
> >> unixes as well ;-))
> >> I've attached a patch which makes gcc.jam default to "windres" on
> >> NT and CYGWIN and to use the "dummy" (aka "as" on alll other
> >> platforms.
> >>
> >> Ok to commit ?
>
> No.

Clear words ;-))

> > Looks fine to me.
>
> Like I said originally. What happens with cross-compiling? That
> change will break things if I'm trying to compile on Linux for a
> Win32 platform. We *really* have to stop relying on the OS checks for
> toolset choices. It is just not reliable as an indicator of what
> programs are available.

Well, cross compiling is another matter. And one I didn't think
about :-((

> > Personally, I would not bother to call
> > 'get-invocation-command' for 'as' as any system lacking that tool
> > is already too broken to use for development. On the other hand,
> > this does not hurt.
>
> I would bother. We must start preferring to use the programs that are
> attached to installed toolsets. This is what makes cross-compiling
> possible. And is essential for people doing embedded development.

So it all boils down to toolset configuration. Unfortunately, I never
got the time to setup cross compilation of my programs. I'm sure that
would have prevented this hack ;-))

> The real fix is to use the dummy rc building if an rc command is not
> found. I guess I should have seen that was what the original code was
> intending on doing. Now that I know I'll go fix it.

Thanks !

A clean fix that does not break cross compiling is much better.

Yours,

Jürgen

-- 
* Dipl.-Math. Jürgen Hunold  ! Ingenieurgesellschaft für 
* voice: ++49 511 262926 57  ! Verkehrs- und Eisenbahnwesen mbH  
* fax  : ++49 511 262926 99  ! Lister Straße 15
* hunold_at_[hidden]          ! www.ive-mbh.de

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