This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: output assembly?


On Mon, 29 Apr 2002 at 08:11 -0500, William A. Gatliff <bgat@billgatliff.co...:

> Gcc's -S will produce assembly language.  Likewise, you can compile
> with -c and -g, then run objdump --source on the object file.

Thanks for the mention of objdump --source (I missed that), but I find using
the comiler/assembler useful to generate mixed assembly/source.o
Maybe you will too?

    gcc -Wa,-adhln,-L -g -c


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]