On Jun 4, 2006, at 10:12 AM, Vu Quang Cao wrote:

Hi,
I'm writing a program, which executes gcc for
compiling a C proram. Now, I need the returned code of
gcc after compiling.

This is offtopic of this channel.  Also it depends on
what OS you are using?

From an unix shell script you can use $? as the return code.

-- Pinski

Reply via email to