To get windows to execute python scripts without the extension, add .PY to the PATHEXT environmental variable. Even though  I grew up programming DOS and then windows, I personally quite like GnuWin32 as the windows command line is generally lacking.<br>
<br><div class="gmail_quote">On Wed, May 23, 2012 at 2:50 PM, Mikael Lyngvig <span dir="ltr"><<a href="mailto:mikael@lyngvig.org" target="_blank">mikael@lyngvig.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi again,<div><br></div><div>The Visual Studio getting started guide (<a href="http://llvm.org/docs/GettingStartedVS.html" target="_blank">http://llvm.org/docs/GettingStartedVS.html</a>) mentions the "llvm-lit" tool, but fails to mention these things:</div>

<div><br></div><div>   1. Either you need to run it from bash or a similar Unix shell, as Windows does not recognize the extensionless Python script that it is.</div><div>   2. Alternatively, you can invoke it using Python like this: python bin/llvm-lit test</div>

<div><br></div><div>I know that the documentation says that I am to install GnuWin32 tools, but I strongly oppose that idea.  We Windows people have our own tools and practices and I think the LLVM developers should open up to a more multi-platform approach than the current (Unix then, perhaps maybe, Windows) approach.  CMake works brilliantly, though, so there are no issues in building neither the win32 or win64 versions of LLVM.</div>

<div><br></div><div>As far as I can tell, I don't need the GnuWin32 tools at all.  I can succesfully build and link a tiny "hello world" sample program without problems.  I do have many Windows ports of Unix tools in my standard path, though, and perhaps that is the reason that the build succeds without GnuWin32.</div>

<div><br></div><div>If I can help, please let me know.  My angle to LLVM is this: I need a portable, multi-targeting code generator and optimizer, and I happen to prefer Windows as my platform.  So, perhaps I can write or update some documentation on how to use LLVM on Windows.</div>

<div><br></div><div><br></div><div>Sincerely,</div><div>Mikael Lyngvig</div>
<br>_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:LLVMdev@cs.uiuc.edu">LLVMdev@cs.uiuc.edu</a>         <a href="http://llvm.cs.uiuc.edu" target="_blank">http://llvm.cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev</a><br>
<br></blockquote></div><br>