How do you generate assembler listings in GCC?

Joined
Mar 5, 2005
Messages
282
Reaction score
6
Points
18
I can't use -S as there's a -o on the command line or multiple files. I'm trying to pass args to the assembler using -Wa but I can't find an option in the assembler to dump out a listing.

Spent about an hour trying various things and no luck.
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top