Am 17.10.2012 13:56, schrieb Regan Heath:
On Wed, 17 Oct 2012 12:43:27 +0100, Regan Heath <re...@netmail.co.nz>
wrote:

On Wed, 17 Oct 2012 12:17:14 +0100, Benjamin Thaut
<c...@benjamin-thaut.de> wrote:

I didn't go through the trouble and find out which version of
dbghelp.dll exactly supports cv debugging symbols, but I know it
depends on that. So I can not help you there.

The linker line looks fine, looks the same for me but works (also
with dmd 2.060)

Did you modify your sc.ini file?

Nope.  But I have just got it working.  Something in my PATH variable
is causing it trouble.  If I set PATH to only the dmd2\windows\bin
folder everything works.

Ok.  Figured it all out.  OPTLINK doesn't like a PATH with + in it.

C:\TEMP>dmd -g -debug crash.d

C:\TEMP>set path=%path%;+

C:\TEMP>dmd -g -debug crash.d
OPTLINK (R) for Win32  Release 8.00.12
Copyright (C) Digital Mars 1989-2010  All rights reserved.
http://www.digitalmars.com/ctg/optlink.html
OPTLINK : Error 118: Filename Expected
Path=C:\Development\D\dmd2\windows\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program
Files\Common Files\Microsoft Shared\Microsoft Online Services;C:\Program
Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files
(x86)\Common Files\Microsoft Shared\Microsoft Online Services;C:\Program
Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Program
Files\Intel\DMIX;c:\Program Files (x86)\ATI
Technologies\ATI.ACE\Core-Static;C:\Program Files (x86)\NTRU
Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\NTRU
Cryptosystems\NTRU TCG Software Stack\bin\;C:\Program Files\Wave Systems
Corp\Gemalto\Access Client\v5\;C:\Program Files (x86)\Common Files\Roxio
Shared\DLLShared\;C:\Program Files (x86)\Common Files\Roxio
Shared\10.0\DLLShared\;c:\Program Files (x86)\Microsoft SQL
Server\90\Tools\binn\;C:\Program Files (x86)\Windows
Live\Shared;C:\Program Files
(x86)\NASM;c:\Development;c:\Utils;c:\Utils\bind;C:\Program
Files\TortoiseSVN\bin;C:\Program Files\SlikSvn\bin;;+
^
--- errorlevel 1

But, only if you compile with -g because this still works:

C:\TEMP>dmd -debug crash.d

Weird, huh.

Where do OPTLINK bugs get reported?

R


At the same place where all the other bugs get reported: http://d.puremagic.com/issues/enter_bug.cgi?product=D

So does the stacktrace work now?

Kind Regards
Benjamin Thaut

Reply via email to