[comp.sys.amiga] Can Lattice 5.04 generate assembly output?

laba-1ei@e260-3c.berkeley.edu (Joseph Chung) (05/30/90)

The subject heading says it all. I remember being able to have the compiler
do an assembly listing way back when... But my memory escapes me.

Anyway, I don't want to have to go into CPR just to look at the listing.
Can any kind soul out there help me?????

-jc
--
Joseph Chung
== You can always find what you're not looking for! ==
laba-1ei@web.berkeley.edu

jmeissen@oregon.oacis.org (John Meissen) (05/31/90)

In a word, "no." The Lattice compiler has always gone straight to object code.
There is a way to disassemble the resulting file, however. The compiler should
include the utility "omd" (Object Module Disassembler) that will create an
assembler listing (not the same as source). C source can be intermixed with
the assembler listing by compiling with -d and listing both object and source
file names:   omd file.o file.c
-- 
 John Meissen ............................... Oregon Advanced Computing Institute
 jmeissen@oacis.org        (Internet) | "That's the remarkable thing about life;
 ..!sequent!oacis!jmeissen (UUCP)     |  things are never so bad that they can't
 jmeissen                  (BIX)      |  get worse." - Calvin & Hobbes