Thread overview
External dependencies for dmd tests
Feb 08, 2014
Benjamin Thaut
Feb 08, 2014
Daniel Murphy
Feb 08, 2014
Benjamin Thaut
Feb 10, 2014
Benjamin Thaut
Feb 10, 2014
Walter Bright
Feb 10, 2014
Benjamin Thaut
February 08, 2014
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
February 08, 2014
"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. 

February 08, 2014
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.
February 10, 2014
My original question still hasn't been answered.
February 10, 2014
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.
February 10, 2014
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.