Boost logo

Boost-Build :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2004-06-04 00:39:58


Michael Stevens wrote:

> > ... in fact I though there's either vc6, vc7 or vc7.1 mode. I can add
> > another option, say "native", "full", or even "edg". Just pick the name
> > ;-)
>
> To me it seems very odd to default to putting the Intel compiler in a bug
> compatible mode. We should really be aiming at ISO standard code. I assume
> this is just to emulate the current v1 default setting for
> INTEL_BASE_MSVC_TOOLSET as 'msvc' when regression testing.

Yes, I've tried to be as close to v1 as possible.

> I also think that these kind of toolset options rather overcomplicate the
> toolset files, and really need documenting! In the end they simply replace
> one name for a command line flag for another.

That's a sharp observation, and is entirely true.

> I have an alternative suggestion I use for my own customised toolset
> files. So that this kind of flag can be permanently set for testing my
> suggestion is to include them via a single parameter passed to the toolset
> 'init' function. That way they can be specified in the user-config if
> necessary for regression testing.

Hey, so one would write

using intel : 8.0vc6 : ...... : -Qvc6 ;

? That's really interesting. One problem, though, is that intel-win.jam has
some conditional logic, depending on vc version to emulate. But I guess we
can just look inside the "extra flags" parameter, right?

I think is very neat idea. Other opinions?

- 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