This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How to cross complie c to assembly ?


> I need to complie C ( *.c , *.c++ )  to assembly (*. asm)  use GCC
> How do I ?

Additionally to the -S option mentioned by Eljay, you can also use
-masm=intel for Intel-style assembly output.

(Personally, I prefer the default AT&T syntax, as it seems more readable +
natural to me).

-- 
---

Regards,

Stefan Schuerger


"Sie haben neue Mails!" - Die GMX Toolbar informiert Sie beim Surfen!
Jetzt aktivieren unter http://www.gmx.net/info


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]