This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Producing .o and .s files at once
- To: "Tom Womack" <tom at womack dot net>
- Subject: Re: Producing .o and .s files at once
- From: Alexandre Oliva <oliva at lsd dot ic dot unicamp dot br>
- Date: 27 Feb 2000 11:46:47 -0300
- Cc: <gcc at gcc dot gnu dot org>
- References: <000201bf8131$852d91c0$d04a883e@maths.nottingham.ac.uk>
On Feb 27, 2000, "Tom Womack" <tom@womack.net> wrote:
> you can get it to output an assembler listing of the program at the same
> time as compiling it.
gcc -save-temps should do it too.
>> From the gcc documentation, it appears that I have to do
> g++ -c -S foo.cpp
> g++ -c foo.cpp
^^^ this could just be foo.s
--
Alexandre Oliva http://www.ic.unicamp.br/~oliva/ Enjoy Guaranį
Cygnus Solutions, a Red Hat company aoliva@{redhat, cygnus}.com
Free Software Developer and Evangelist CS PhD student at IC-Unicamp
oliva@{lsd.ic.unicamp.br, gnu.org} Write to mailing lists, not to me