From 840e4d66eaa7993f443d43ac113f0676e1bcaed9 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 12 Nov 2018 16:44:07 -0800 Subject: [PATCH 1/2] Update MinGW.md --- Documentation/LanguageServer/MinGW.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/LanguageServer/MinGW.md b/Documentation/LanguageServer/MinGW.md index 2030efa16..cadb187e1 100644 --- a/Documentation/LanguageServer/MinGW.md +++ b/Documentation/LanguageServer/MinGW.md @@ -20,6 +20,8 @@ When you set the `compilerPath` property and change `intelliSenseMode` to `clang } ``` +For Cygwin, the `compilerPath` should be set to something like "C:/cygwin64/bin/g++.exe". + ## Extension version 0.16.1 and earlier: If you have an older version of the C/C++ extension installed, use [these instructions](Archive/MinGW.md) instead. From 503e16199ce97b35ba6fcc2feec9eaf00a022000 Mon Sep 17 00:00:00 2001 From: Sean McManus Date: Mon, 12 Nov 2018 17:19:19 -0800 Subject: [PATCH 2/2] Update MinGW.md --- Documentation/LanguageServer/MinGW.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Documentation/LanguageServer/MinGW.md b/Documentation/LanguageServer/MinGW.md index cadb187e1..a56d535fc 100644 --- a/Documentation/LanguageServer/MinGW.md +++ b/Documentation/LanguageServer/MinGW.md @@ -20,7 +20,11 @@ When you set the `compilerPath` property and change `intelliSenseMode` to `clang } ``` -For Cygwin, the `compilerPath` should be set to something like "C:/cygwin64/bin/g++.exe". +Replace "gcc.exe" with whatever compiler you're using, e.g. "g++.exe", "clang-5.0.exe", etc. -- just make sure the file is a valid Windows executable (not a 0 size symlink). + +For Cygwin, set the `compilerPath` to the appropriate Cygwin path, e.g. "C:/cygwin64/bin/g++.exe". + +If it seems like the `compilerPath` is not getting used, you can debug the issue via [enabling logging](Enabling%20logging.md). ## Extension version 0.16.1 and earlier: