From 6018c7a0c998d07d53512b315beade30ae89eedc Mon Sep 17 00:00:00 2001 From: Abhishek Pandey Date: Tue, 5 May 2015 02:04:33 +0530 Subject: [PATCH] Corrected gcc path on windows When gcc path is set to r"$nimrod\dist\mingw\bin", the compiler gives an error: Error : unhandled exception : invalid format string [Value Error], but works correctly with gcc.path set to r"$nim\dist\mingw\bin". I think this issue was caused due to the name change from nimrod to nim , but the name change was not replicated in the config file. --- config/nim.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/nim.cfg b/config/nim.cfg index ccb9977db4..fef7df79ec 100644 --- a/config/nim.cfg +++ b/config/nim.cfg @@ -96,7 +96,7 @@ path="$lib/pure/unidecode" # Configuration for the GNU C/C++ compiler: @if windows: - #gcc.path = r"$nimrod\dist\mingw\bin" + #gcc.path = r"$nim\dist\mingw\bin" @if gcc: tlsEmulation:on @end