From 86c8a7a94701356ab887616b1aa64d3d8ddd6b28 Mon Sep 17 00:00:00 2001 From: Araq Date: Tue, 3 Nov 2015 13:26:20 +0100 Subject: [PATCH] nimrod is obsolete --- compiler/tccgen.nim | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler/tccgen.nim b/compiler/tccgen.nim index 7616641fc..ea0fb590f 100644 --- a/compiler/tccgen.nim +++ b/compiler/tccgen.nim @@ -35,7 +35,7 @@ proc setupEnvironment = when defined(linux): defineSymbol(gTinyC, "__linux__", nil) defineSymbol(gTinyC, "__linux", nil) - var nimrodDir = getPrefixDir() + var nimDir = getPrefixDir() addIncludePath(gTinyC, libpath) when defined(windows): @@ -44,7 +44,7 @@ proc setupEnvironment = when defined(windows): defineSymbol(gTinyC, "_WIN32", nil) # we need Mingw's headers too: - var gccbin = getConfigVar("gcc.path") % ["nimrod", nimrodDir] + var gccbin = getConfigVar("gcc.path") % ["nim", nimDir] addSysincludePath(gTinyC, gccbin /../ "include") #addFile(nimrodDir / r"tinyc\win32\wincrt1.o") addFile(nimrodDir / r"tinyc\win32\alloca86.o")