[Scons-users] Getting scons to work on windows

Evan Driscoll driscoll at cs.wisc.edu
Sat Sep 7 22:33:43 EDT 2013


On 9/7/2013 9:17 PM, Mark Brunson wrote:

> Sorry for repeating myself here, but I really need to get scons to run.

>

> After running the installer, what specifically do you need to do to be

> able to use scons from the command line? I've looked into adding it to

> the path, but I either did this wrong or it doesn't help.


The interaction between SCons and Cygwin isn't spelled out.

1. Did you install the native version of SCons or the Cygwin version of
SCons?

2. Are you trying to run SCons from the Windows command line (cmd.exe)
or a Cygwin shell?

Any combination can be made to work, but if there's disagreement between
the "Cygwin-ness" of the shell and SCons you have to take extra steps.
This is because Cygwin shells don't know how to run .bat files (of which
native 'scons' is one), and likewise the Windows shell doesn't know how
to run Cygwin-bash shell scripts (of which Cygwin 'scons' is one).

Evan


More information about the Scons-users mailing list