Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-05-13 09:49:50


David Abrahams wrote:

> > Also, do we need to invoke compiler/linker with the full path?
>
> Not if we invoke the .bat file.
>
> > vcvars32.bat changes PATH, I believe
>
> Yes.
>
> > but there may be another "cl" in PATH...., so full path is
> > needed. Am I missing something?
>
> vcvars32.bat puts its directories at the front of PATH, so there is no
> problem.

OK, so we'll always invoke vcvars and call compiler withouth path.

> > And final question: if compiler is in the path, what should be do? Use
> > that one? Or ignore PATH? Should be use compiler in path even if
> >
> > using msvc : 6 ;
> >
> > was used? I tend to ignore PATH at all.
>
> If a version is specified, I would look in the default location for
> that version first. If not found, I'd look in the PATH.

OK.

> >> Note also the issue with the handling of optional
> >> features:
> >>
> >> http://article.gmane.org/gmane.comp.lib.boost.build/2472
> >
> > Could you explain what's that issue is about. I do not understand what's
> > wrong, if anything.
>
> The default value of the msvc feature is "6". Once you say that
> you're using msvc, with no value, the behavior should have been to
> pick "6". However, I agree that searching through the default
> 7.1,7,6 install locations is probably better anyway.

Hmm... I think the default values for subfeatures were never applied.
OK, I'll use 7.1 -> 7 -> 6 -> PATH search order.

- 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