[llvm] r221227 - Docs: give binutils/gold instructions for CMake too.

Rafael EspĂ­ndola rafael.espindola at gmail.com
Mon Nov 3 19:46:02 PST 2014


Thanks!

On 3 November 2014 21:16, Tim Northover <tnorthover at apple.com> wrote:
> 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
>  =====
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits



More information about the llvm-commits mailing list