[Scons-dev] SCons building with MS Visual C++10 on 64-bit Windows.

Gary Oberbrunner garyo at oberbrunner.com
Fri Jun 15 12:12:33 EDT 2012


On Fri, Jun 15, 2012 at 12:05 PM, Edward d'Auvergne
<edward at nmr-relax.com> wrote:

> That's true, I didn't think about this warning becoming annoying.

> This code path look like it is hit up to 10 times with the scons

> initialisation, so you'd end up with 10 identical warning messages

> anyway.  So a warning is clearly not the best idea.  As for the 64-bit

> compiler, if its there along with the 32-bit compiler, the 64-bit

> compiler should be used by default.  I would assume that to be

> reasonable.  But if only one is present (either 64-bit or 32-bit),

> then it's clearly better to default to the one present rather than to

> not initialise the compiler environment and hence end up with neither.

>  If you have both installed and you want to compile differently, then

> setting the TARGET_ARCH should be expected.  Is there some scenario

> where such logic fails?


If I remember the earlier discussions, the conflict was between build
reproducibility and "doing something sensible". We ended up on the
reproducibility side, as the doc reflects. But you're not the only
one to have fallen into this. I think your suggestion above is
basically fine. Other folks? Bill?

--
Gary


More information about the Scons-dev mailing list