win64 is a supported target; bugfix: nimrod c -r on windows; stdlib uses wide char versions of the WinAPI

This commit is contained in:
Araq 2012-03-04 21:44:56 +01:00
commit ff4a69b624
22 changed files with 927 additions and 195 deletions

View file

@ -7,8 +7,11 @@
# distribution, for details about the copyright.
#
when defined(gcc) and defined(windows):
{.link: "icons/nimrod.res".}
when defined(gcc) and defined(windows):
when defined(x86):
{.link: "icons/nimrod.res".}
else:
{.link: "icons/nimrod_icon.o".}
import
times, commands, lexer, condsyms, options, msgs, nversion, nimconf, ropes,
@ -96,7 +99,7 @@ proc HandleCmdLine() =
formatSize(getTotalMem())])
if optRun in gGlobalOptions:
var ex = quoteIfContainsWhite(
changeFileExt(gProjectFull, "").prependCurDir)
changeFileExt(gProjectFull, exeExt).prependCurDir)
execExternalProgram(ex & ' ' & arguments)
#GC_disableMarkAndSweep()