Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/gnu/usr.bin/egcs/c89 Don't attempt to use a compiler specifi...



details:   https://anonhg.NetBSD.org/src/rev/ffad22d076fc
branches:  trunk
changeset: 471760:ffad22d076fc
user:      kleink <kleink%NetBSD.org@localhost>
date:      Sat Apr 10 15:22:27 1999 +0000

description:
Don't attempt to use a compiler specified by $CC; it's perfectly legitimate
to have $CC point to this script, which would then yield the obvious result.
(This script is pretty much tied to the shipped compiler anyhow.)

diffstat:

 gnu/usr.bin/egcs/c89/c89.1  |  10 +---------
 gnu/usr.bin/egcs/c89/c89.sh |   2 +-
 2 files changed, 2 insertions(+), 10 deletions(-)

diffs (33 lines):

diff -r efc4ea8fe13a -r ffad22d076fc gnu/usr.bin/egcs/c89/c89.1
--- a/gnu/usr.bin/egcs/c89/c89.1        Sat Apr 10 15:14:11 1999 +0000
+++ b/gnu/usr.bin/egcs/c89/c89.1        Sat Apr 10 15:22:27 1999 +0000
@@ -1,4 +1,4 @@
-.\"    $NetBSD: c89.1,v 1.4 1999/03/09 12:54:40 kleink Exp $
+.\"    $NetBSD: c89.1,v 1.5 1999/04/10 15:22:27 kleink Exp $
 .\"
 .\" Copyright (c) 1999 The NetBSD Foundation, Inc.
 .\" All rights reserved.
@@ -69,14 +69,6 @@
 .It Fl D_ANSI_SOURCE
 Tell the system header file set to use an ANSI-conformant "clean" namespace.
 .El
-.Sh ENVIRONMENT VARIABLES
-The following environment variables affect the execution of
-.Nm "" :
-.Bl -tag -width -pedantic-errorsxx
-.It Ev CC
-C compiler program to use.  Defaults to
-.Ar cc .
-.El
 .Sh SEE ALSO
 .Xr cc 1
 .Sh STANDARDS
diff -r efc4ea8fe13a -r ffad22d076fc gnu/usr.bin/egcs/c89/c89.sh
--- a/gnu/usr.bin/egcs/c89/c89.sh       Sat Apr 10 15:14:11 1999 +0000
+++ b/gnu/usr.bin/egcs/c89/c89.sh       Sat Apr 10 15:22:27 1999 +0000
@@ -30,4 +30,4 @@
 # ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
 # POSSIBILITY OF SUCH DAMAGE.
 #
-exec ${CC-cc} -ansi ${1+$@}
+exec /usr/bin/cc -ansi ${1+$@}



Home | Main Index | Thread Index | Old Index