[LLVMdev] Minor correction to the Visual Studio documentation

Mikael Lyngvig mikael at lyngvig.org
Wed May 23 14:50:06 PDT 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20120523/f261cdfa/attachment.html>


More information about the llvm-dev mailing list