GDC generate wrong .exe ("not a valid win32 application")

rjframe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jun 19 16:55:54 PDT 2017


On Mon, 19 Jun 2017 14:08:56 +0000, Patric Dexheimer wrote:

> Fresh install of GDC. (tried with 32x ad 32_64x)
> 
> GDC: 6.3.0 DUB: 1.3.0
> 
> dub run --build=release --arch=x86 --compiler=gdc
> 
> (...)
> Running .\main Failed to spawn new process (%1 is not a valid win32
> application)

If you try compiling a single file directly (gdc app.d -o app), does it 
work?

If it does, what's the output of `dub run -v ...`?


More information about the Digitalmars-d-learn mailing list