diff options
Diffstat (limited to 'U/cc.U')
-rw-r--r-- | U/cc.U | 14 |
1 files changed, 3 insertions, 11 deletions
@@ -1,12 +1,3 @@ -?X: These units are based on the ones supplied with dist-3.0 -?X: patchlevel 22. They have been changed or enhanced to work with -?X: perl5alpha. I would appreciate hearing about any changes, -?X: corrections, or enhancements. -?X: Andy Dougherty doughera@lafcol.lafayette.edu -?X: Dept. of Physics -?X: Lafayette College -?X: Easton, PA 18042-1782 -?X: Sat Apr 2 15:45:17 EST 1994 ?RCS: $Id: cc.U,v 3.0 1993/08/18 12:05:30 ram Exp $ ?RCS: ?RCS: Copyright (c) 1991-1993, Raphael Manfredi @@ -21,7 +12,7 @@ ?RCS: Revision 3.0 1993/08/18 12:05:30 ram ?RCS: Baseline for dist 3.0 netwide release. ?RCS: -?MAKE:gccversion cc: cat contains sysman +large cpp \ +?MAKE:gccversion cc: cat contains sysman +large cpp rm test \ Mcc Myread Guess Oldconfig Loc ?MAKE: -pick add $@ %< ?S:cc: @@ -33,6 +24,7 @@ ?S: If GNU cc (gcc) is used, this variable holds '1' or '2' to ?S: indicate whether the compiler is version 1 or 2. This is used in ?S: setting some of the default cflags. +?S:. ?D:cc='cc' ?INIT:gccversion='' ?LINT:change cpp @@ -105,7 +97,7 @@ return 1; #endif } EOM - if $cc -o gccvers $ccflags gccvers.c >/dev/null 2>&1; then + if $cc -o gccvers gccvers.c >/dev/null 2>&1; then gccversion=`./gccvers` echo "You appear to have version $gccversion." else |