Boost logo

Boost-Build :

From: David Abrahams (dave_at_[hidden])
Date: 2005-05-23 10:10:58

Rene Rivera <grafik.list_at_[hidden]> writes:

> David Abrahams wrote:
>> Vladimir Prus <ghost_at_[hidden]> writes:
>>>On Monday 23 May 2005 16:05, David Abrahams wrote:
>>>I'd rather not have two files for a single toolset.
>> Fine with me; I'm inclined the same way.
> And I'm inclined the other way :-)

Well, I'm not going to argue. As I said it's not a very important

> The reason I gave earlier was that having all that auto detection
> code in msvc.jam makes for a harder to read and maintain toolset
> file. For example the detection code in msvc.jam is half of the
> file, and it's not until about 2/3 down in the file when you get to
> see the flags, etc.

Compromise? You can always put the detection code at the bottom.

>>>What if no registry keys are available and there are two 'cl.exe' in PATH?
>>>Then it's not possible to guess the versions of those cl.exe
>> Corner case. The user uses explicit config for that one:
>> using msvc : 7.1 : /some/path ;
> Or we eventually get to the point where can we run "cc --version" (or
> equivalent thereof) to ask the compiler directly.

Well, we can already answer the question if they're both in the path.
You just pick the first one. The version number isn't what really
counts in this particular case.

Dave Abrahams
Boost Consulting

Boost-Build list run by bdawes at, david.abrahams at, gregod at, cpdaniel at, john at