OSDN Git Service

* gcc.1: Document exit codes.
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Oct 1999 02:32:26 +0000 (02:32 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 22 Oct 1999 02:32:26 +0000 (02:32 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@30124 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/gcc.1

index 48da7f8..41143e4 100644 (file)
@@ -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.
index 787ef21..25c2469 100644 (file)
--- 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