public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* h8 - assembler output
@ 2002-11-07 18:57 Rob Curtis
  2002-11-07 20:48 ` Ben Elliston
  0 siblings, 1 reply; 2+ messages in thread
From: Rob Curtis @ 2002-11-07 18:57 UTC (permalink / raw)
  To: gcc-help

Hi there, 
 
Can anyone suggest how to get GCC to output an assembled version of my C
code?
I am keen to see how it optimizes the code (and see If I can design
better code accordingly).
 
I've tried the -S switch but it doesn't seem to output anything.
 
We are using GCC 2.95.1 for the h8/300
 
Is there a better list to post to for this micro version?
 
TIA
 
Rob Curtis
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: h8 - assembler output
  2002-11-07 18:57 h8 - assembler output Rob Curtis
@ 2002-11-07 20:48 ` Ben Elliston
  0 siblings, 0 replies; 2+ messages in thread
From: Ben Elliston @ 2002-11-07 20:48 UTC (permalink / raw)
  To: gcc-help

>>>>> "Rob" == Rob Curtis <RobC@norseld.com> writes:

  Rob> Can anyone suggest how to get GCC to output an assembled
  Rob> version of my C code?
 
  Rob> I've tried the -S switch but it doesn't seem to output
  Rob> anything.

GCC will compile your source file to a corresponding .s file.  So
foo.c => foo.s.

Ben


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2002-11-08  4:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-11-07 18:57 h8 - assembler output Rob Curtis
2002-11-07 20:48 ` Ben Elliston

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).