Can't compile with -g

Ty Tower tytower at hotmail.com.au
Sat Mar 15 22:49:30 PDT 2008


Raynor Wrote:

> C:\dmd\bin\dmd.exe  F:\test10\main.d -oftest10 -odobjs -g
> 
> C:\dmd\bin\..\..\dm\bin\link.exe objs\main,test10,,user32+kernel32/co/noi;
> 
> OPTLINK (R) for Win32  Release 8.00.1
> Copyright (C) Digital Mars 1989-2004  All rights reserved.
> OPTLINK : Error 118: Filename Expected
> 
> It do the same error on codeblocks, poseidon or in command line
> It works if i remove -g
> 
> I have dmd 1.015 with a fresh install
Shouldn't the switch come between the command and the file?
 C:\dmd\bin\dmd.exe -oftest10 -odobjs -g  F:\test10\main.d 

I have not used Windows so I don't know but I would check the position of the -g switch 
Someone will come in soon who will know


More information about the Digitalmars-d-debugger mailing list