This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: How to cross complie c to assembly ?
- From: Eljay Love-Jensen <eljay at adobe dot com>
- To: Pratya Sinthong <pratyasinthong at hotmail dot com>, gcc-help at gcc dot gnu dot org
- Date: Tue, 18 May 2004 07:05:29 -0500
- Subject: Re: How to cross complie c to assembly ?
- References: <Sea1-F628gBfiaMFUTu000183fa@hotmail.com>
Hi Pratya,
Use the -S switch:
gcc -S -fverbose-asm foo.c
g++ -S -fverbose-asm bar.cpp
To see what the available switches are, use:
gcc -v --help
HTH,
--Eljay