www.digitalmars.com         C & C++   DMDScript  

digitalmars.D - Where is obj2asm on Windows?

reply "AsmMan" <lol.themask gmail.com> writes:
I have dmd and dmc installed on my system but I can't find 
obj2asm executable. IIRC, when I was on Linux I just installed 
dmd and had working obj2asm. Where's it on Windows 64-bit?
Jun 10 2014
next sibling parent reply "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Tue, 10 Jun 2014 11:53:34 -0400, AsmMan <lol.themask gmail.com> wrote:

 I have dmd and dmc installed on my system but I can't find obj2asm  
 executable. IIRC, when I was on Linux I just installed dmd and had  
 working obj2asm. Where's it on Windows 64-bit?
It doesn't exist. From what I remember, there is an equivalent tool that comes with the non-free version of DMC (Digital Mars' C+ compiler). -Steve
Jun 10 2014
next sibling parent "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Tue, 10 Jun 2014 12:02:47 -0400, Steven Schveighoffer  
<schveiguy yahoo.com> wrote:

 On Tue, 10 Jun 2014 11:53:34 -0400, AsmMan <lol.themask gmail.com> wrote:

 I have dmd and dmc installed on my system but I can't find obj2asm  
 executable. IIRC, when I was on Linux I just installed dmd and had  
 working obj2asm. Where's it on Windows 64-bit?
It doesn't exist. From what I remember, there is an equivalent tool that comes with the non-free version of DMC (Digital Mars' C+ compiler).
C++ compiler even :) -Steve
Jun 10 2014
prev sibling parent "Steven Schveighoffer" <schveiguy yahoo.com> writes:
On Tue, 10 Jun 2014 12:02:47 -0400, Steven Schveighoffer  
<schveiguy yahoo.com> wrote:

 On Tue, 10 Jun 2014 11:53:34 -0400, AsmMan <lol.themask gmail.com> wrote:

 I have dmd and dmc installed on my system but I can't find obj2asm  
 executable. IIRC, when I was on Linux I just installed dmd and had  
 working obj2asm. Where's it on Windows 64-bit?
It doesn't exist. From what I remember, there is an equivalent tool that comes with the non-free version of DMC (Digital Mars' C++ compiler).
Just looked it up, it comes with the C++ compiler, or the Extended Utility package (neither is free). See here: http://digitalmars.com/ctg/obj2asm.html -Steve
Jun 10 2014
prev sibling next sibling parent "Marc =?UTF-8?B?U2Now7x0eiI=?= <schuetzm gmx.net> writes:
On Tuesday, 10 June 2014 at 15:53:35 UTC, AsmMan wrote:
 I have dmd and dmc installed on my system but I can't find 
 obj2asm executable. IIRC, when I was on Linux I just installed 
 dmd and had working obj2asm. Where's it on Windows 64-bit?
You can probably use binutils' objdump, but I don't know whether it can handle the object file format that DMD produces on Windows. Just give it a try: http://sourceforge.net/projects/mingw/files/Installer/
Jun 11 2014
prev sibling parent "Qox" <robertw89 googlemail.com> writes:
Try using objconv http://www.agner.org/optimize/objconv.zip , it 
doesn't handle every obj file from dmd but it works most of the 
time.
Jun 11 2014