www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - External dependencies for dmd tests

reply Benjamin Thaut <code benjamin-thaut.de> writes:
I would like to extend the DMD testsuite with a test for cv8 debug 
information. For that however I need a extarnal executable. Dia2Dump 
wich is part of the examples of visual studio. How is such a situation 
usually handeled? Is the binary stored prebuild somewhere? This test 
would only run on windows, so it would be feasable to brebuild the 
binary. Or is it required to be able to rebuild the external dependencies?

Kind Regards
Benjamin Thaut
Feb 08 2014
next sibling parent reply "Daniel Murphy" <yebbliesnospam gmail.com> writes:
"Benjamin Thaut"  wrote in message news:ld5g0q$1c3q$1 digitalmars.com...

 I would like to extend the DMD testsuite with a test for cv8 debug 
 information. For that however I need a extarnal executable. Dia2Dump wich 
 is part of the examples of visual studio. How is such a situation usually 
 handeled? Is the binary stored prebuild somewhere? This test would only 
 run on windows, so it would be feasable to brebuild the binary. Or is it 
 required to be able to rebuild the external dependencies?
Could you use objconv instead? I'd much rather we depended on that, and hopefully it would open the doors for debug info tests on other platforms.
Feb 08 2014
parent Benjamin Thaut <code benjamin-thaut.de> writes:
Am 08.02.2014 16:50, schrieb Daniel Murphy:
 "Benjamin Thaut"  wrote in message news:ld5g0q$1c3q$1 digitalmars.com...

 I would like to extend the DMD testsuite with a test for cv8 debug
 information. For that however I need a extarnal executable. Dia2Dump
 wich is part of the examples of visual studio. How is such a situation
 usually handeled? Is the binary stored prebuild somewhere? This test
 would only run on windows, so it would be feasable to brebuild the
 binary. Or is it required to be able to rebuild the external
 dependencies?
Could you use objconv instead? I'd much rather we depended on that, and hopefully it would open the doors for debug info tests on other platforms.
After trying around with objconv, it doesn't seem to give me what I need. I didn't manage to make it give me debug information at all. Dia2Dump directly reads a .pdb file, and gives me the info in the same way as the visual studio debugger sees it.
Feb 08 2014
prev sibling parent reply Benjamin Thaut <code benjamin-thaut.de> writes:
My original question still hasn't been answered.
Feb 10 2014
parent reply Walter Bright <newshound2 digitalmars.com> writes:
On 2/10/2014 9:51 AM, Benjamin Thaut wrote:
 My original question still hasn't been answered.
1. you'll need a license to redistribute any Microsoft binaries 2. you can use Digital Mars' "dumpobj" program which will pretty-print the CV8 info in the .obj file. I used it to develop the CV8 code.
Feb 10 2014
parent Benjamin Thaut <code benjamin-thaut.de> writes:
Am 10.02.2014 20:38, schrieb Walter Bright:
 2. you can use Digital Mars' "dumpobj" program which will pretty-print
 the CV8 info in the .obj file. I used it to develop the CV8 code.
I didn't know that, I will take a look at it.
Feb 10 2014