combined source listings

Jan H Andersson Janh.Andersson@ericsson.com
Mon May 22 23:01:00 GMT 2000


Hi,


Clarke.Jeff@Orbital.COM wrote:
> 
> What options are required to get a combined 'C' and assembly listing as an
> output.  I've been through the command options list and have had no success.
> 

I could produce "mixt list" from my makefile with this 

---------------   zip ------------------


CC  =  $(CROSS)gcc
ASM =  $(CROSS)as
LD  =  $(CROSS)ld


# Flags
CFLAGS  += -c -g -mpowerpc -memb
CFLAGS  += $(DEFINE) $(INCFILES)

# generate a mixt list 
mixtlst: $(LSTDIR)
	$(CC)  -Wa,-ahls=$(LSTDIR)/$(basename $(CF)).lst  $(CFLAGS) $(DEFINE) -o
$(LSTDIR)/lst.o  $(CF)
	$(ECHO) $(EF)mixt.lst file: $(LSTDIR)/$(basename $(CF)).lst$(EF)

---------------  zap ------------------------


/Jan
begin:vcard 
n:Andersson;Jan
tel;work:+46 8 585 34130
x-mozilla-html:FALSE
org:Wireless LAN Systems
adr:;;Esplanaden 3C ;SUNDBYBERG;STOCKHOLM;SE-164 80;Sweden
version:2.1
email;internet:Janh.Andersson@ericsson.com
x-mozilla-cpt:;17232
fn:Jan H Andersson
end:vcard



More information about the crossgcc mailing list