aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorMatthias Klose <doko@debian.org>1999-10-22 02:32:26 +0000
committerJeff Law <law@gcc.gnu.org>1999-10-21 20:32:26 -0600
commit84221183beedd004a3c3981a771192584cc44838 (patch)
tree3fe33bf99c973a355caf03a164abeac4707249b9 /gcc
parent8badec73ebc7e6194770ad8e845e51076d44451b (diff)
downloadgcc-84221183beedd004a3c3981a771192584cc44838.zip
gcc-84221183beedd004a3c3981a771192584cc44838.tar.gz
gcc-84221183beedd004a3c3981a771192584cc44838.tar.bz2
* gcc.1: Document exit codes.
From-SVN: r30124
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/gcc.17
2 files changed, 10 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 48da7f8..41143e4 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+Thu Oct 21 20:30:19 1999 Matthias Klose <doko@debian.org>
+
+ * gcc.1: Document exit codes.
+
Thu Oct 21 12:49:05 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* calls.c: Include tm_p.h later, so everything we need is defined.
diff --git a/gcc/gcc.1 b/gcc/gcc.1
index 787ef21..25c2469 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