mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Erik Mouw <J.A.K.Mouw@ITS.TUDelft.NL>
To: Jerry Kelley <jkelley@iei.net>
Cc: linux kernel <linux-kernel@vger.kernel.org>
Subject: Re: gcc question (off topic)
Date: Sun, 29 Oct 2000 16:26:33 +0100	[thread overview]
Message-ID: <20001029162633.B1198@arthur.ubicom.tudelft.nl> (raw)
In-Reply-To: <001801c041bb$5e894c80$0a00a8c0@gamma>
In-Reply-To: <001801c041bb$5e894c80$0a00a8c0@gamma>; from jkelley@iei.net on Sun, Oct 29, 2000 at 10:17:36AM -0500

On Sun, Oct 29, 2000 at 10:17:36AM -0500, Jerry Kelley wrote:
> Can gcc generate ASM output with the source lines from the C file
> interspersed as comments?

Yes, "gcc -S". Look in the gcc info pages for more information (the man
page in known to be outdated).

If that isn't what you want, try "objdump -D -S" on the generated
object file. You have to use the "-g" flag for gcc to let this trick
work.


Erik

-- 
J.A.K. (Erik) Mouw, Information and Communication Theory Group, Department
of Electrical Engineering, Faculty of Information Technology and Systems,
Delft University of Technology, PO BOX 5031,  2600 GA Delft, The Netherlands
Phone: +31-15-2783635  Fax: +31-15-2781843  Email: J.A.K.Mouw@its.tudelft.nl
WWW: http://www-ict.its.tudelft.nl/~erik/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

  reply	other threads:[~2000-10-29 15:27 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-29 15:17 Jerry Kelley
2000-10-29 15:26 ` Erik Mouw [this message]
2000-10-29 16:18 ` Alan Cox
2000-11-01 10:13 ` Richard Henderson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20001029162633.B1198@arthur.ubicom.tudelft.nl \
    --to=j.a.k.mouw@its.tudelft.nl \
    --cc=jkelley@iei.net \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®