On Sun, 17 Aug 2014 11:34:59 +0000 bearophile via Digitalmars-d-announce <[email protected]> wrote:
> Yes, I am using a 32 bit Windows.
are you sure that you have latest git then? yes, i know that this is
very silly question, but sometimes... ;-)
unfortunately, i have no windows boxes (neither cross-compilers), so
can't check it myself. but i see this in mars.c:
#if TARGET_WINDOS
else if (strcmp(p + 1, "m32mscoff") == 0)
{
global.params.is64bit = 0;
global.params.mscoff = true;
}
#endif
...
static const char* parse_arch(size_t argc, const char** argv, const
char* arch) {
for (size_t i = 0; i < argc; ++i)
{ const char* p = argv[i];
if (p[0] == '-')
{
if (strcmp(p + 1, "m32") == 0 || strcmp(p + 1, "m32mscoff")
== 0 || strcmp(p + 1, "m64") == 0) arch = p + 2;
else if (strcmp(p + 1, "run") == 0)
break;
}
}
return arch;
}
so i believe that it should work.
signature.asc
Description: PGP signature
