Bug #6591 2006-02-26 18:17

zingam

Digital Mars D compiler not generating debug info

When compiling a project with DMD and switches -g -debug (etc) are selected to generate debug info. No debug info is generated.

It seems that it is a failure at the link stage. The linker does not get the /CO[deview] switch. A possible workaround is: to pass to the compiler the -L flag.

This flag passes linker flags to the linker. For example

dmd.exe main.d -L/CO

should pass the /CO[deview] switch to the linker so that includes the necessary debug info.

This -L/CO flag should be passed to the linker, when the compiler switch -g (add symbolic info) is selected.

But I don't know how to do it.

Category
Compiler
Group
 
Status
Closed
Close date
2007-03-19 16:32
Assigned to
mortenmacfly
mandrav 2006-09-08 11:48

Does this bug still persist?

mortenmacfly 2007-03-19 16:32

Report is closed.

Note: This is a preformatted standard message.

Possible reasons for closing this report are:

* the developer in charge of the issue

- could not reproduce it despite trying several times

- did not get sufficient information

- got no reply to an inquiry for specific information

* the report is quite a bit dated of now, and

- no user comments have been added for several weeks

- significant changes have been made to the code

- no other developer could reproduce it either

It is assumed that the problem does not persist and the report

can be closed.

If the problem reappears in future releases, please feel free to

re-open this report and provide precise information on how to

reproduce it.