[LLVMdev] Minor correction to the Visual Studio documentation

Nathan Jeffords blunted2night at gmail.com
Thu May 24 08:18:46 PDT 2012


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.

On Wed, May 23, 2012 at 2:50 PM, Mikael Lyngvig <mikael at lyngvig.org> wrote:

> Hi again,
>
> The Visual Studio getting started guide (
> http://llvm.org/docs/GettingStartedVS.html) mentions the "llvm-lit" tool,
> but fails to mention these things:
>
>    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.
>    2. Alternatively, you can invoke it using Python like this: python
> bin/llvm-lit test
>
> 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.
>
> 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.
>
> 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.
>
>
> Sincerely,
> Mikael Lyngvig
>
> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         http://llvm.cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120524/71b5697c/attachment.html>


More information about the llvm-dev mailing list