Permalink
Browse files

README.txt: Add missing -mscrtlib requirement for MS toolchain variant 3

It defaults to `vcruntime140` in a vanilla environment, suited for the internal toolchain, but unusable with the MS libs.
  • Loading branch information...
kinke committed Jan 9, 2019
1 parent b8d5ac9 commit 8855397defd6ee73fbeeed73c2a13cb1ea4d4b41
Showing with 2 additions and 1 deletion.
  1. +2 −1 packaging/README.txt
@@ -30,7 +30,8 @@ following options:
auto-detect your latest Visual C++ installation in that case.
* Set up the etc\ldc2.conf config file and specify the directories containing
the MS libs (appending them to the 'lib-dirs' array; check out the LIB
environment variable in a VS tools command prompt).
environment variable in a VS tools command prompt) as well as the C runtime
flavor (e.g., appending '-mscrtlib=libcmt' to the 'switches' array).
In case you prefer the MS linker over LLD, add the switch
'-linker=<path\to\link.exe>'.

0 comments on commit 8855397

Please sign in to comment.