Unix Programming - Need Help with GCC

This is Interesting: Free IT Magazines  
Home > Archive > Unix Programming > September 2005 > Need Help with GCC





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Need Help with GCC
seema_coma@yahoo.co.in

2005-09-19, 6:02 pm

Hi all,
Iam new to Unix programming. Basically GCC
envelopes intermediate executables cc1 and cc1plus.
Would some body explain what is the use of this executables?
parsing a c program with cc1 dumps following output,

[no-view]Seema@oomph>
/lib/ssa/gcc-lib/i386-redhat-linux-gnu/3.tree-ssa/cc1 x.c

func1 func2 func3 main
Execution times (seconds)
preprocessing :0.01 (33%) usr 0.00 ( 0%) sys 0.01 (33%) wall
parser :0.01 (33%) usr 0.00 ( 0%) sys 0.01 (33%) wall
TOTAL :0.03 0.00 0.03


Thanks in Advance
Seema Rao.

Roger Leigh

2005-09-19, 6:02 pm

seema_coma@yahoo.co.in writes:

> Iam new to Unix programming. Basically GCC envelopes intermediate
> executables cc1 and cc1plus. Would some body explain what is the
> use of this executables? parsing a c program with cc1 dumps
> following output,


You never need to run these directly, so I would recommend ignoring
them: they are an unimportant implementation detail. Just use "gcc"
or "g++".


Regards,
Roger

--
Roger Leigh
Printing on GNU/Linux? http://gimp-print.sourceforge.net/
Debian GNU/Linux http://www.debian.org/
GPG Public Key: 0x25BFB848. Please sign and encrypt your mail.
Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com