public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* RE: extension from c to assembly
@ 2001-02-27  7:55 David Korn
  0 siblings, 0 replies; 2+ messages in thread
From: David Korn @ 2001-02-27  7:55 UTC (permalink / raw)
  To: 'Scalabroni, Luigi (FL51)', gcc-help

>-----Original Message-----
>From: Scalabroni, Luigi (FL51) [ mailto:luigi.scalabroni@honeywell.com ]
>Sent: 26 February 2001 20:33

>Is there an extension to compile a C program and generate 
>assembly code and

 gcc -S

>relative addresses instructions,

 gcc -fpic

> etc, for debugging reasons? 

 gcc -g

  Sorry, your question is not very clear.  Gcc always generates
assembly code, that's why it needs a separate assembler to work.  Gcc 
uses relative address instructions either when generating position
independent code or whenever else it is appropriate, but it doesn't have
anything to do with debugging.  So you could use any or even all of the
three options I've listed above.  If that's not enough to solve your
problem, please try and explain it some more.

  cheers,
      DaveK
-- 
 All your base are belong to us!


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************

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

* extension from c to assembly
@ 2001-02-26 12:34 Scalabroni, Luigi (FL51)
  0 siblings, 0 replies; 2+ messages in thread
From: Scalabroni, Luigi (FL51) @ 2001-02-26 12:34 UTC (permalink / raw)
  To: gcc-help

Is there an extension to compile a C program and generate assembly code and
relative addresses instructions, etc, for debugging reasons? Your prompt
reply is really appreciated. Thank you very much,
	
Luigi Scalabroni

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

end of thread, other threads:[~2001-02-27  7:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-27  7:55 extension from c to assembly David Korn
  -- strict thread matches above, loose matches on Subject: below --
2001-02-26 12:34 Scalabroni, Luigi (FL51)

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).