Frits van Bommel Wrote: > Shouldn't that be "dmd.exe -ofbin\debug\test2.exe ..."?
Plausible, but OTOH optlink recognizes the type of the file by looking at the file extension, e.g. .exe -> out file??? Anyway, I don't have a choice, as codeblocks doesn't allow me to customize the command line arguments. (... at least as long as I am not willing to modify the codeblocks source code). For clarification: an exe file is successfully generated, only the return value of DMD.exe is wrong.