www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.debugger - Can't compile with -g

reply Raynor <memphis007fr yahoo.fr> writes:
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
Jan 09 2008
parent Ty Tower <tytower hotmail.com.au> writes:
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
Mar 15 2008