digitalmars.D - OPTLINK is missing files when I try to include debugging info into
- Matt (18/18) Oct 14 2012 I was trying to check out windbg with a project I am working on.
- Andrej Mitrovic (2/4) Oct 14 2012 Likely related to this: http://d.puremagic.com/issues/show_bug.cgi?id=87...
- Matt (3/8) Oct 14 2012 OK, so it's a bug rather than a failure on my part? That's
- Andrej Mitrovic (2/11) Oct 14 2012 Likely. What does your PATH variable look like?
- Matt (6/20) Oct 14 2012 Horrific. It's full of paths to sub-directories of "C:\Program
I was trying to check out windbg with a project I am working on. The program currently consists of two D files (main.d, Application.d) and three Derelict3 import libs (DerelictUtil, DerelictSDL2, DerelictGL3). Without debug info, the following console command runs fine; --- dmd main.d Application.d DerelictUtil.lib DerelictSDL2.lib DerelictGL3.lib --- However, no matter where I put either the -g or -gc switches, Optlink complains with 'Error 118: Filename Expected', and proceeds to spit out my PATH environment variable. I tried with just a 'Hello World' program that only imports 'std.stdio', and I get the same problem. Could anyone explain to me what the problem is? I have the feeling that there is something I need to do to set up Optlink, however I installed from the Windows binary on dlang.org. If it matters, I'm running Win7
Oct 14 2012
On 10/15/12, Matt <webwraith fastmail.fm> wrote:However, no matter where I put either the -g or -gc switches, Optlink complains with 'Error 118: Filename ExpectedLikely related to this: http://d.puremagic.com/issues/show_bug.cgi?id=8791
Oct 14 2012
On Sunday, 14 October 2012 at 22:53:11 UTC, Andrej Mitrovic wrote:On 10/15/12, Matt <webwraith fastmail.fm> wrote:OK, so it's a bug rather than a failure on my part? That's comforting, if a little problematic.However, no matter where I put either the -g or -gc switches, Optlink complains with 'Error 118: Filename ExpectedLikely related to this: http://d.puremagic.com/issues/show_bug.cgi?id=8791
Oct 14 2012
On 10/15/12, Matt <webwraith fastmail.fm> wrote:On Sunday, 14 October 2012 at 22:53:11 UTC, Andrej Mitrovic wrote:Likely. What does your PATH variable look like?On 10/15/12, Matt <webwraith fastmail.fm> wrote:OK, so it's a bug rather than a failure on my part? That's comforting, if a little problematic.However, no matter where I put either the -g or -gc switches, Optlink complains with 'Error 118: Filename ExpectedLikely related to this: http://d.puremagic.com/issues/show_bug.cgi?id=8791
Oct 14 2012
On Sunday, 14 October 2012 at 23:06:19 UTC, Andrej Mitrovic wrote:On 10/15/12, Matt <webwraith fastmail.fm> wrote: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.On Sunday, 14 October 2012 at 22:53:11 UTC, Andrej Mitrovic wrote:Likely. What does your PATH variable look like?On 10/15/12, Matt <webwraith fastmail.fm> wrote:OK, so it's a bug rather than a failure on my part? That's comforting, if a little problematic.However, no matter where I put either the -g or -gc switches, Optlink complains with 'Error 118: Filename ExpectedLikely related to this: http://d.puremagic.com/issues/show_bug.cgi?id=8791
Oct 14 2012