OPTLINK is missing files when I try to include debugging info into build

Matt webwraith at fastmail.fm
Sun Oct 14 16:33:41 PDT 2012


On Sunday, 14 October 2012 at 23:06:19 UTC, Andrej Mitrovic wrote:
> On 10/15/12, Matt <webwraith at fastmail.fm> wrote:
>> On Sunday, 14 October 2012 at 22:53:11 UTC, Andrej Mitrovic 
>> wrote:
>>> On 10/15/12, Matt <webwraith at fastmail.fm> wrote:
>>>> However, no matter where I put either the -g or -gc switches,
>>>> Optlink complains with 'Error 118: Filename Expected
>>>
>>> Likely related to this:
>>> http://d.puremagic.com/issues/show_bug.cgi?id=8791
>>
>> OK, so it's a bug rather than a failure on my part? That's
>> comforting, if a little problematic.
>>
>
> Likely. What does your PATH variable look like?

Horrific. It's full of paths to sub-directories of "C:\Program 
Files\". I've found that if I run "set 
PATH=C:\D\dmd2\windows\bin" before compiling, it works fine. If 
it usually takes time for this, I'll just set up a cmd shell with 
this reduced PATH envvar, I think.


More information about the Digitalmars-d mailing list