From: Vladimir Prus (ghost_at_[hidden])
Date: 2003-02-25 11:23:04
David Abrahams wrote:
> Vladimir Prus <ghost_at_[hidden]> writes:
> >> That's essentially
> >> pass_toolset ? 'gcc' : self.toolset
> >> But Guido won't give us a ternary operator :(
> > That's tricky ;-)
> You say that like it's a _good_ thing <wink>.
I don't think the code I can't understand is a good thing, but OTOH I don't
know Python idioms that good.
> I don't like tricky, but it's better than the alternative. We really
> should have the ternary operator.
Probably. But plain "if" looks better still.
> > Ehh.... "cl" is the name of msvc compiler, right? Shouldn't it be in
> > path?
> Part of the design philosophy of toolsets is that you shouldn't have
> to litter your environment with all the settings needed to make every
> one of your compilers work. That's why we have config files, for
> example. I happen to have msvc-6.5 installed in the default location,
> which is why I didn't need to add a path to my "using" invocation.
> Note that "bjam msvc-6.5" works in general; something about the
> testing front-end must be messing it up (?)
I can't imagine what's wrong offhand. Looking at TestCmd.py, I can suggest one
idea: change line 6 of generators_test.py to read
t = Tester(verbose=1)
and run the test. It should print the exact bjam command line, which hopefully
can be used to reproduce the problem.
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