Thread overview | |||||
---|---|---|---|---|---|
|
January 10, 2008 Can't compile with -g | ||||
---|---|---|---|---|
| ||||
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 |
January 10, 2008 Re: Can't compile with -g | ||||
---|---|---|---|---|
| ||||
Posted in reply to Raynor | 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
Try stripping down your PATH environment variable to a minimum, that may be causing it.
|
January 11, 2008 Re: Can't compile with -g | ||||
---|---|---|---|---|
| ||||
Posted in reply to Spacen Jasset | Spacen Jasset a écrit :
> 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
> Try stripping down your PATH environment variable to a minimum, that may be causing it.
You are right. I must remove a lot of paths to get it work.
|
Copyright © 1999-2021 by the D Language Foundation