diff options
author | Andy Dougherty <doughera@lafayette.edu> | 2013-09-06 08:44:52 -0400 |
---|---|---|
committer | Andy Dougherty <doughera@lafayette.edu> | 2013-09-06 12:21:46 -0400 |
commit | 7b0e9f133bcaadc61e8b788c2453b0391aa28722 (patch) | |
tree | cc4bc0613a862aaac570e7fdf08538c6ec1144f7 /hints | |
parent | 7d1d69cb1e59690060fc6368ef3969a206c87c50 (diff) | |
download | perl-7b0e9f133bcaadc61e8b788c2453b0391aa28722.tar.gz |
Remove Configure hints for the old AT&T 3b1.
I am unaware of any successful builds since the 5.005 era.
Diffstat (limited to 'hints')
-rw-r--r-- | hints/3b1.sh | 15 | ||||
-rw-r--r-- | hints/3b1cc | 88 |
2 files changed, 0 insertions, 103 deletions
diff --git a/hints/3b1.sh b/hints/3b1.sh deleted file mode 100644 index 991348af3e..0000000000 --- a/hints/3b1.sh +++ /dev/null @@ -1,15 +0,0 @@ -d_voidsig='undef' -d_tosignal='int' -gidtype='int' -groupstype='int' -uidtype='int' -# Note that 'Configure' is run from 'UU', hence the strange 'ln' -# command. -for i in .. ../x2p -do - rm -f $i/3b1cc - ln ../hints/3b1cc $i -done -echo "\nIf you want to use the 3b1 shared libraries, complete this script then" >&4 -echo "read the header in 3b1cc. [Type carriage return to continue]\c" >&4 -read vch diff --git a/hints/3b1cc b/hints/3b1cc deleted file mode 100644 index 0001e046b8..0000000000 --- a/hints/3b1cc +++ /dev/null @@ -1,88 +0,0 @@ -# To incorporate the 7300/3b1 shared library, run this script in place -# of 'CC'. -# You can skip this is you have the shcc program installed as cc in -# your path. -# First: Run 'Configure' through to the end and run 'make depend'. -# Second: Edit 'makefile' ( not Makefile ) and set CC = 3b1cc. -# Third: Edit 'x2p/makefile' and set CC = 3b1cc. -# -# Do not use '3b1cc' as the default compiler. The call to the default -# compiler is used by 'perl' and will not be available when running -# 'perl'. -# -# Note: This script omits libraries which are redundant in the shared -# library. It is an excerpt from a grander version available upon -# request from "zebra!vern" or "vern@zebra.alphacdc.com". - -CC="cc" -LIBS= -INCL= - -LD="ld" -SHAREDLIB="/lib/crt0s.o /lib/shlib.ifile" - -# Local variables -COBJS= -LOBJS= -TARG= -FLAGS= -CMD= - -# These are libraries which are incorporated in the shared library -OMIT="-lmalloc" - -# These routines are in libc.a but not in the shared library -if [ ! -f vsprintf.o -o ! -f doprnt.o ] -then - echo "Extracting vsprintf.o from libc.a" - ar -x /lib/libc.a vsprintf.o doprnt.o -fi - -CMD="$CC" -while [ $# -gt 0 ] -do - case $1 in - -c) CFLAG=$1;; - -o) CFLAG=$1 - shift - TARG="$1";; - -l*) match=false - for i in $OMIT - do - [ "$i" = "$1" ] && match=true - done - [ "$match" != false ] || LIBS="$LIBS $1";; - -*) FLAGS="$FLAGS $1";; - *.c) COBJS="$COBJS $1";; - *.o) LOBJS="$LOBJS $1";; - *) TARG="$1";; - esac - shift -done - -if [ -n "$COBJS" ] -then - CMD="$CMD $FLAGS $INCL $LPATHS $LIBS $COBJS $CFLAG $TARG" -elif [ -n "$LOBJS" ] -then - LOBJS="$LOBJS vsprintf.o doprnt.o" - CMD="$LD -r $LOBJS $LPATHS $LIBS -o temp.o" - echo "\t$CMD" - $CMD - CMD="$LD -s temp.o $SHAREDLIB -o $TARG" - echo "\t$CMD" - $CMD - ccrslt=$? - if [ $ccrslt -ne 0 ] - then - exit $ccrslt - fi - CMD="rm -f temp.o" -else - exit 1 -fi -echo "\t$CMD" -$CMD -ccrslt=$? -rm -f $$.c -exit $ccrslt |