X-Git-Url: http://plrg.eecs.uci.edu/git/?a=blobdiff_plain;f=docs%2FGettingStartedVS.rst;h=d914cc176dfdcf7763caa893f5c60e8df122e806;hb=5c58257d39c5061189269e33b49c90cc1e1e57d3;hp=a80a9e26579a28815645d710967b347b00544b39;hpb=a7eccdc59a15c272ed1b7c44924fa5bfe1ed1d9e;p=oota-llvm.git diff --git a/docs/GettingStartedVS.rst b/docs/GettingStartedVS.rst index a80a9e26579..d914cc176df 100644 --- a/docs/GettingStartedVS.rst +++ b/docs/GettingStartedVS.rst @@ -34,7 +34,7 @@ Most of the tools build and work. ``bugpoint`` does build, but does not work. Additional information about the LLVM directory structure and tool chain -can be found on the main `Getting Started `_ page. +can be found on the main :doc:`GettingStarted` page. Requirements @@ -45,15 +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 2012 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 -Studio have bugs, are not completely compatible, or do not support the C++ -standard well enough. +You will need Visual Studio 2012 or higher. You will also need the `CMake `_ build system since it generates the project files you will use to build with. @@ -99,8 +97,11 @@ Here's the short story for getting up and running quickly with LLVM: using LLVM. Another important option is ``LLVM_TARGETS_TO_BUILD``, which controls the LLVM target architectures that are included on the build. - * See the `LLVM CMake guide `_ for detailed information about + * See the :doc:`LLVM CMake guide ` for detailed information about how to configure the LLVM build. + * CMake generates project files for all build types. To select a specific + build type, use the Configuration manager from the VS IDE or the + ``/property:Configuration`` command line option when using MSBuild. 6. Start Visual Studio @@ -121,16 +122,14 @@ Here's the short story for getting up and running quickly with LLVM: or run it from the command line. The program will print the corresponding fibonacci value. -8. Test LLVM on Visual Studio: +8. Test LLVM in Visual Studio: * If ``%PATH%`` does not contain GnuWin32, you may specify ``LLVM_LIT_TOOLS_DIR`` on CMake for the path to GnuWin32. * You can run LLVM tests by merely building the project "check". The test results will be shown in the VS output window. -.. FIXME: Is it up-to-date? - -9. Test LLVM: +9. Test LLVM on the command line: * The LLVM tests can be run by changing directory to the llvm source directory and running: @@ -164,7 +163,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 @@ -219,8 +218,8 @@ An Example Using the LLVM Tool Chain Common Problems =============== If you are having problems building or using LLVM, or if you have any other -general questions about LLVM, please consult the `Frequently Asked Questions -`_ page. +general questions about LLVM, please consult the :doc:`Frequently Asked Questions +` page. Links