From 84221183beedd004a3c3981a771192584cc44838 Mon Sep 17 00:00:00 2001 From: Matthias Klose Date: Fri, 22 Oct 1999 02:32:26 +0000 Subject: [PATCH] * gcc.1: Document exit codes. From-SVN: r30124 --- gcc/ChangeLog | 4 ++++ gcc/gcc.1 | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 48da7f8e1a2..41143e4392a 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +Thu Oct 21 20:30:19 1999 Matthias Klose + + * gcc.1: Document exit codes. + Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi * calls.c: Include tm_p.h later, so everything we need is defined. diff --git a/gcc/gcc.1 b/gcc/gcc.1 index 787ef213f2d..25c2469e261 100644 --- a/gcc/gcc.1 +++ b/gcc/gcc.1 @@ -20,7 +20,7 @@ .if n .sp .if t .sp 0.4 .. -.Id $Id: gcc.1,v 1.10 1999/06/02 01:37:02 law Exp $ +.Id $Id: gcc.1,v 1.11 1999/09/23 14:49:11 law Exp $ .TH GCC 1 "\*(Dt" "GNU Tools" "GNU Tools" .SH NAME gcc, g++ \- GNU project C and C++ Compiler (gcc-2.96) @@ -4141,6 +4141,11 @@ comes from the environment variable if available, else .B /tmp\c \&). +.SH "EXIT STATUS" +Normally the exit status is 0, if compilation or link edit are successful, +and nonzero else. The option +.B -Werror +treats each warning as an error. .SH "SEE ALSO" cpp(1), as(1), ld(1), gdb(1), adb(1), dbx(1), sdb(1). .br -- 2.30.2