This is the mail archive of the
cgen@sources.redhat.com
mailing list for the CGEN project.
RE: Using CGEN Disassembler
- From: "Stephen Done at home" <stephen dot done at cw dot com>
- To: "Alan Lehotsky" <apl at alum dot mit dot edu>
- Cc: <cgen at sources dot redhat dot com>
- Date: Thu, 22 Nov 2001 01:41:43 -0000
- Subject: RE: Using CGEN Disassembler
Thanks everyone for your suggestions.
objdump is what I need, not cgen - I realise now.
Regs.
Steve
> -----Original Message-----
> From: Alan Lehotsky [mailto:apl@alum.mit.edu]
> Sent: 21 November 2001 18:00
> To: Stephen Done
> Cc: cgen@sources.redhat.com
> Subject: Re: Using CGEN Disassembler
>
>
> At 2:45 PM +0000 11/21/01, Stephen Done wrote:
>
> >I would like to use CGEN to disassemble some code for the Mitsubishi M32R
> >processor.
>
> Just get a binutils distribution and configure the m32r
> target and build.
>
> In the binutils build directory you'll find objdump - that
> does all the disassembly you could ever want...
>
> Or did you hope to build a disassembler into a tool YOU are
> building for yourself. (In which case, you still want
> to start with the objdump sources, as it shows how to call
> the cgen-generated routines for disassembly....
>
>
> >I have installed guile, and have downloaded the latest released
> version of
> >CGEN (1.0).
>
> You don't need any of that to build and run binutils - the
> cgen outputs are checked-in to the binutils tree (see
> the opcodes directory for the specifics....
>
> --
> ------------------------------------------------------------------------
>
> Quality Software Management
> http://home.earthlink.net/~qsmgmt
> apl@alum.mit.edu
> (978)287-0435 Voice
> (978)808-6836 Cell
> (978)287-0436 Fax
>
> Software Process Improvement and Management Consulting
> Language Design and Compiler Implementation
>