aboutsummaryrefslogtreecommitdiff
path: root/docs/markdown/Reference-tables.md
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2020-03-19 19:19:29 +0200
committerGitHub <noreply@github.com>2020-03-19 19:19:29 +0200
commit321774d715f47b3bd3a2e240e0a190dfad7bd22d (patch)
tree0c9f22d4cee7c1d3a85dde4694b0739d1e4e916f /docs/markdown/Reference-tables.md
parent00104b1081cd5076451d83524f4f9bfa75750cf6 (diff)
parentb8294b4436f7a187cd8cfae02554ce0140428e78 (diff)
downloadmeson-321774d715f47b3bd3a2e240e0a190dfad7bd22d.zip
meson-321774d715f47b3bd3a2e240e0a190dfad7bd22d.tar.gz
meson-321774d715f47b3bd3a2e240e0a190dfad7bd22d.tar.bz2
Merge pull request #6789 from dcbaker/deprecated-c-ld
Make linker selection environment variables match docs
Diffstat (limited to 'docs/markdown/Reference-tables.md')
-rw-r--r--docs/markdown/Reference-tables.md19
1 files changed, 19 insertions, 0 deletions
diff --git a/docs/markdown/Reference-tables.md b/docs/markdown/Reference-tables.md
index 59e252f..8c55180 100644
--- a/docs/markdown/Reference-tables.md
+++ b/docs/markdown/Reference-tables.md
@@ -255,3 +255,22 @@ These are the values that can be passed to `dependency` function's
| config-tool | Use a custom dep tool such as `cups-config` |
| system | System provided (e.g. OpenGL) |
| extraframework | A macOS/iOS framework |
+
+
+## Compiler and Linker selection variables
+
+| Language | Compiler | Linker | Note |
+|:-------------:|----------|-----------|---------------------------------------------|
+| C | CC | CC_LD | |
+| C++ | CXX | CXX_LD | |
+| D | DC | DC_LD | Before 0.54 D_LD* |
+| Fortran | FC | FC_LD | Before 0.54 F_LD* |
+| Objective-C | OBJC | OBJC_LD | |
+| Objective-C++ | OBJCXX | OBJCXX_LD | Before 0.54 OBJCPP_LD* |
+| Rust | RUSTC | RUSTC_LD | Before 0.54 RUST_LD* |
+| Vala | VALAC | | Use CC_LD. Vala transpiles to C |
+| C# | CSC | CSC | The linker is the compiler |
+
+*The old environment variales are still supported, but are deprecated and will
+be removed in a future version of meson.
+