This is the mail archive of the
mailing list for the GCC project.
Re: C and assembly listing
----- Original Message -----
From: "Paolo Carlini" <email@example.com>
To: "Sanjiv Kumar Gupta" <firstname.lastname@example.org>; <email@example.com>
Sent: Monday, November 05, 2001 4:17 AM
Subject: Re: C and assembly listing
> Sanjiv Kumar Gupta wrote:
> > Microsoft compiler has a /FA option to produce C and assembly
> > gcc provide a similar one???
> Usually, I invoke objdump with the -S switch on the object file (*.o)
> that mixture (with -g for gcc).
> Dunno if something like this can also be produced by gcc itself.
> Paolo Carlini.
This has been the best option for the x86 version, although it has been
known to skip a few instructions.