mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-22 10:42:39 +01:00
Docs: give binutils/gold instructions for CMake too.
Patch by Steve King. llvm-svn: 221227
This commit is contained in:
parent
159d4a83e8
commit
930987d42f
@ -44,9 +44,11 @@ will either need to build gold or install a version with plugin support.
|
|||||||
the ``-plugin`` option. Running ``make`` will additionally build
|
the ``-plugin`` option. Running ``make`` will additionally build
|
||||||
``build/binutils/ar`` and ``nm-new`` binaries supporting plugins.
|
``build/binutils/ar`` and ``nm-new`` binaries supporting plugins.
|
||||||
|
|
||||||
* Build the LLVMgold plugin: Configure LLVM with
|
* Build the LLVMgold plugin. If building with autotools, run configure with
|
||||||
``--with-binutils-include=/path/to/binutils/include`` and run
|
``--with-binutils-include=/path/to/binutils/include`` and run ``make``.
|
||||||
``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
|
Usage
|
||||||
=====
|
=====
|
||||||
|
Loading…
Reference in New Issue
Block a user