Open wilzbach opened 10 years ago
Comment author: Andrej Mitrovic <andrej.mitrovich@gmail.com>
Test-case:
$ dmd -run test.d DMD v2.066 DEBUG OPTLINK (R) for Win32 Release 8.00.13 Copyright (C) Digital Mars 1989-2010 All rights reserved. http://www.digitalmars.com/ctg/optlink.html OPTLINK : Warning 23: No Stack OPTLINK : Warning 134: No Start Address
The program or feature "\??\C:\dev\code\d_code\test.exe" cannot start or run due to incompatibity with 64-bit versions of Windows. Please contact the software vendor to ask if a 64-bit Windows compatible version is available.
Now let's try with /NOEXECUTABLE: $ dmd -L/NOEXECUTABLE -run test.d
Same crash. The problem (as I see it) is that OPTLINK creates a warning when a start address is missing, rather than an error, so /NOEXECUTABLE has no effect.
Comment author: Walter Bright <bugzilla@digitalmars.com>
Crash? That doesn't look like a crash.
Comment author: Andrej Mitrovic <andrej.mitrovich@gmail.com>
Crash? That doesn't look like a crash.
Well it's a dialog box, isn't it? And it's completely uninformative to what the real problem is. The problem is Optlink generates an empty .exe file even if you use /DELEXECUTABLE.
Note: the issue was created automatically migrated from https://issues.dlang.org
Original bug ID: BZ#12340 From: Andrej Mitrovic <andrej.mitrovich@gmail.com> Reported version: D2 CC: bugzilla@digitalmars.com