X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FGettingStartedVS.rst;h=c46dc831eb9a94f0e25c178ba7ac47ce393b9444;hb=2053a06bd5daa4bd781a757e8eff98c3d07c138b;hp=35f97f04b9d50db115fd6718167453496dea5d63;hpb=c8e41c591741b3da1077f7000274ad040bef8002;p=oota-llvm.git diff --git a/docs/GettingStartedVS.rst b/docs/GettingStartedVS.rst index 35f97f04b9d..c46dc831eb9 100644 --- a/docs/GettingStartedVS.rst +++ b/docs/GettingStartedVS.rst @@ -1,5 +1,3 @@ -.. _winvs: - ================================================================== Getting Started with the LLVM System using Microsoft Visual Studio ================================================================== @@ -47,13 +45,13 @@ and software you will need. Hardware -------- -Any system that can adequately run Visual Studio 2008 is fine. The LLVM +Any system that can adequately run Visual Studio 2010 is fine. The LLVM source tree and object files, libraries and executables will consume approximately 3GB. Software -------- -You will need Visual Studio 2008 or higher. Earlier versions of Visual +You will need Visual Studio 2010 or higher. Earlier versions of Visual Studio have bugs, are not completely compatible, or do not support the C++ standard well enough. @@ -139,15 +137,18 @@ Here's the short story for getting up and running quickly with LLVM: .. code-block:: bat - C:\..\llvm> llvm-lit test + C:\..\llvm> python ..\build\bin\llvm-lit --param build_config=Win32 --param build_mode=Debug --param llvm_site_config=../build/test/lit.site.cfg test - Note that quite a few of these test will fail. + This example assumes that Python is in your PATH variable, you + have built a Win32 Debug version of llvm with a standard out of + line build. You should not see any unexpected failures, but will + see many unsupported tests and expected failures. A specific test or test directory can be run with: .. code-block:: bat - C:\..\llvm> llvm-lit test/path/to/test + C:\..\llvm> python ..\build\bin\llvm-lit --param build_config=Win32 --param build_mode=Debug --param llvm_site_config=../build/test/lit.site.cfg test/path/to/test An Example Using the LLVM Tool Chain @@ -163,7 +164,7 @@ An Example Using the LLVM Tool Chain return 0; } -2. Next, compile the C file into a LLVM bitcode file: +2. Next, compile the C file into an LLVM bitcode file: .. code-block:: bat