[llvm] r221227 - Docs: give binutils/gold instructions for CMake too.
    Tim Northover 
    tnorthover at apple.com
       
    Mon Nov  3 18:16:04 PST 2014
    
    
  
Author: tnorthover
Date: Mon Nov  3 20:16:03 2014
New Revision: 221227
URL: http://llvm.org/viewvc/llvm-project?rev=221227&view=rev
Log:
Docs: give binutils/gold instructions for CMake too.
Patch by Steve King.
Modified:
    llvm/trunk/docs/GoldPlugin.rst
Modified: llvm/trunk/docs/GoldPlugin.rst
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/docs/GoldPlugin.rst?rev=221227&r1=221226&r2=221227&view=diff
==============================================================================
--- llvm/trunk/docs/GoldPlugin.rst (original)
+++ llvm/trunk/docs/GoldPlugin.rst Mon Nov  3 20:16:03 2014
@@ -44,9 +44,11 @@ will either need to build gold or instal
   the ``-plugin`` option. Running ``make`` will additionally build
   ``build/binutils/ar`` and ``nm-new`` binaries supporting plugins.
 
-* Build the LLVMgold plugin: Configure LLVM with
-  ``--with-binutils-include=/path/to/binutils/include`` and run
-  ``make``.
+* Build the LLVMgold plugin.  If building with autotools, run configure with
+  ``--with-binutils-include=/path/to/binutils/include`` and run ``make``.
+  If building with CMake, run cmake with
+  ``-DLLVM_BINUTILS_INCDIR=/path/to/binutils/include``.  The correct include
+  path will contain the file ``plugin-api.h``.
 
 Usage
 =====
    
    
More information about the llvm-commits
mailing list