docs: Fix reference table for linker names

These are pretty much all over the place because I never intended them
to be exposed to the meson source language, they were meant just for
documentation.
pull/6672/head
Dylan Baker 5 years ago committed by Nirbheek Chauhan
parent cd30216ce4
commit 9e7cca1472
  1. 30
      docs/markdown/Reference-tables.md

@ -33,16 +33,26 @@ These are return values of the `get_id` (Compiler family) and
## Linker ids ## Linker ids
These are return values of the `get_linker_id` (Linker family) method in a compiler object. These are return values of the `get_linker_id` method in a compiler object.
| Value | Linker family | | Value | Linker family |
| ----- | --------------- | | ----- | --------------- |
| ld.bfd | GNU Compiler Collection | | ld.bfd | The GNU linker |
| {ld.bfd,lld} | Clang non-Windows | | ld.gold | The GNU linker |
| link | MSVC, Clang-cl, clang Windows | | lld | The LLVM linker, with the GNU interface |
| pgi | Portland/Nvidia PGI | | link | MSVC linker |
| {ld.bfd,gold,xild} | Intel compiler non-Windows | | pgi | Portland/Nvidia PGI |
| xilink | Intel-cl Windows | | lld-link | The LLVM linker, with the MSVC interface |
| xilink | Used with Intel-cl only, MSVC like |
| rlink | The Renesas linker, used with CCrx only |
| armlink | The ARM linker (arm and armclang compilers) |
| optlink | optlink |
| APPLE ld | Apple ld64 |
| solaris | Solaris and illumos |
For languages that don't have separate dynamic linkers such as C# and Java, the
`get_linker_id` will return the compiler name.
## Script environment variables ## Script environment variables

Loading…
Cancel
Save