|
Boost-Build : |
From: Zbynek Winkler (zwin_at_[hidden])
Date: 2004-06-09 05:52:02
Vladimir Prus wrote:
>I'd like to finally settle the question that Michael raised some time ago.
>Briefly, given
>
> using gcc ;
> using gcc : 3.3 : g++-3.3 ;
>
>it is not clear if default-configured gcc is the same as gcc 3.3, or not. This
>might cause a problem for user, since he can build the project twice without
>need, and it causes some complexity for toolsets.
>
>Here's what I propose: each "configuration parameter" of toolset should be
>either specified on all calls of the "using" rule, or omitted in all the
>calls. The rationale is: first time user can invoke "using gcc ; " and it
>will work. Advanced user, who wants to configure several version, probably
>knows the version number of default "gcc" as well, so it's no problem for
>him.
>
>I plan to introduce auxilliary funciton to call for this rule automatically,
>but that's implementation issue.
>
>Opinions?
>
>
Would it be possible in the default case detect the value of the
version? Then the above could mean the same and also the default build
directory would be the same. I would prefere the same also for msvc,
since when I uninstalled msvc-6.0 and installed msvc-7.1 the build dir
was the same (since I was 'using msvc') but incompatible. Since then I
stopped 'using msvc' in favor of the explicit version.
Zbynek
-- http://zw.matfyz.cz/ http://robotika.cz/ Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic
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