diff options
Diffstat (limited to 'docs/markdown/Cross-compilation.md')
-rw-r--r-- | docs/markdown/Cross-compilation.md | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/markdown/Cross-compilation.md b/docs/markdown/Cross-compilation.md index 43e1382..d94d487 100644 --- a/docs/markdown/Cross-compilation.md +++ b/docs/markdown/Cross-compilation.md @@ -87,6 +87,7 @@ this: [binaries] c = '/usr/bin/i586-mingw32msvc-gcc' cpp = '/usr/bin/i586-mingw32msvc-g++' +ld = 'gold' ar = '/usr/i586-mingw32msvc/bin/ar' strip = '/usr/i586-mingw32msvc/bin/strip' pkgconfig = '/usr/bin/i586-mingw32msvc-pkg-config' @@ -102,6 +103,12 @@ of a wrapper, these lines are all you need to write. Meson will automatically use the given wrapper when it needs to run host binaries. This happens e.g. when running the project's test suite. +ld is special because it is compiler specific. For compilers like gcc and +clang which are used to invoke the linker this is a value to pass to their +"choose the linker" argument (-fuse-ld= in this case). For compilers like +MSVC and Clang-Cl, this is the path to a linker for meson to invoke, such as +`link.exe` or `lld-link.exe`. Support for ls is *new in 0.53.0* + The next section lists properties of the cross compiler and its target system, and thus properties of host system of what we're building. It looks like this: |