I am not able to run the output file compiled. I am not sure if it might be an error with my commandline or not.

Operating System: Windows 8
Commandline Arguments Try1: -c hello.d out\hello.exe
Commandline Arguments Try2: -c hello.d -m32 out\hello.exe

hello.d:
import std.stdio;

void main()
{
        writeln("Hello World!");
        readln();
}

When I run the executable generated Windows 8 says "This app can't run on your PC" "To find a version for your PC, check with the software publisher."

I figured that it might be because it compiles x64 and I have to run x86, but I already tried compiling it as x86 using -m32.

Reply via email to