Add a section on slow linking under MinGW to "Known Limitations" docs

Unless someone steps up to fix the long link times with a set of
unobtrusive changes, the recommended solution will remain "use a better
linker".

Related to #1205, #1247, and #1637

Closes #1247
Closes #1637
This commit is contained in:
Martin Hořeňovský 2019-10-20 19:43:19 +02:00
parent 060a41ec7b
commit 407ee0af2f
No known key found for this signature in database
GPG Key ID: DE48307B8B0D381A
1 changed files with 9 additions and 0 deletions

View File

@ -45,6 +45,15 @@ the `REQUIRE` family of macros), Catch2 does not know that there are no
more sections in that test case and must run the test case again.
### MinGW/CygWin compilation (linking) is extremely slow
Compiling Catch2 with MinGW can be exceedingly slow, especially during
the linking step. As far as we can tell, this is caused by deficiencies
in its default linker. If you can tell MinGW to instead use lld, via
`-fuse-ld=ldd`, the link time should drop down to reasonable length
again.
## Features
This section outlines some missing features, what is their status and their possible workarounds.