⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.ncr

📁 早期freebsd实现
💻 NCR
字号:
From: lreed@ncratl.AtlantaGA.NCR.COM (Len Reed)Newsgroups: comp.lang.perlSubject: Fixes for Perl 4.019 on NCR Tower V.3Date: 17 Feb 92 16:41:30 GMTOrganization: Holos Software, Inc.Here are the fixes needed to make perl 4.019 on the NCR Tower V.3 system.I have bundled this as a shar file: feed everything below the CUT lineto /bin/sh.The file hints/ncr_tower.sh fixes several problems.  It replaces thestandard copy thereof.  Note that I use perl's malloc.  Note alsothat I have turned the optimizer completely off (-O0).  Optimizingat -O1 or -O2 produces some errors that the test suite doesn't catch.(Problems with alloca() and setjmp/longjmp, I think.)  It should bepossible to optimize some modules but I haven't experimented with this.[NOTE: this hints file is already installed--lwall]I'm don't know if mkdir(2) works: I've left it undef'ed.  It is certainlybroken in V.2.  If you need fast mkdir's you may want to experiment withthis.The file patch.twg fixes a stupidity in /usr/netinclude/sys/time.h.You'll need this if you have WIN-TCP; you can't use it if you don'thave WIN-TCP.  If needed, apply this patch *before* running Configure.Make sure you tell Configure that any config.sh it finds is to be ignored.After running Configure and make depend, edit config.h so thatthe CPPSTDIN definition has DEFAULT_CPP=/dev/null prepended.  It shouldlook this this:#define CPPSTDIN "DEFAULT_CPP=/dev/null cc -E"This must be done by hand after running "make depend" and before runningmake.  I was unable to encode this into the hints file.This resulting perl should pass all tests.-Len ReedHolos Software, Inc.holos0!lbr@gatech.edu                (my main account)lreed@ncratl.atlantaga.ncr.com       (this account--on a customer's machine)-----CUT HERE----#!/bin/sh# This is a shell archive (shar 3.32)# made 02/17/1992 16:36 UTC by lreed@ncratl# Source directory /usr/acct/lreed/,q## existing files WILL be overwritten## This shar contains:# length  mode       name# ------ ---------- ------------------------------------------#   1593 -rw-rw-rw- patch.twg#    176 -rw-r--r-- hints/ncr_tower.sh#if touch 2>&1 | fgrep 'amc' > /dev/null then TOUCH=touch else TOUCH=truefi# ============= patch.twg ==============echo "x - extracting patch.twg (Text)"sed 's/^X//' << 'SHAR_EOF' > patch.twg &&XThe following patch fixes /usr/netinclude/sys/time.h on the Tower V.3.XPulling in <sys/time.h> with -I/usr/inetinclude makes a mess unlessXthe <sys/twg_config.h> file is pulled in, too.  It's stupid that anXapplication (e.g., perl) should have to do this.  Thus, I fixedXthe system header file.  The alternative is to make each applicationXget the header file itself.  (The #if allows the application to doXit, though, for compatibility with existing applications.)XXTo apply this patch, chdir to /usr/netinclude/sys and runX	patch <this_fileXXIf the patch fails, fix the file by hand.  All I've done is putX#ifndef HDEFX	/* Len Reed 5/6/91 -- pulling in <sys/time.h> shouldn't causeX	   HDEF to blow up the compile--auto pull in its defining file.X	*/X# include <sys/twg_config.h>X#endifXXbefore HDEF is used.XX-----The patch starts below this lineXX*** time.h.old	Fri Feb 14 12:06:46 1992X--- time.h	Fri Feb 14 12:04:32 1992X***************X*** 4,12 ****X  /*	time.h	6.1	83/07/29	*/X  /* " @(#)time.h (TWG) 2.2 88/05/17 " */X  X! /*X  HDEF( "@(#)$RCSfile: README.ncr,v $$Revision: 4.0.1.1 $$Date: 92/06/08 11:41:41 $" )X- */X  X  /*X   * Structure returned by gettimeofday(2) system call,X--- 4,17 ----X  /*	time.h	6.1	83/07/29	*/X  /* " @(#)time.h (TWG) 2.2 88/05/17 " */X  X! #ifndef HDEFX! 	/* Len Reed 5/6/91 -- pulling in <sys/time.h> shouldn't causeX! 	   HDEF to blow up the compile--auto pull in its defining file.X! 	*/X! # include <sys/twg_config.h>X! #endifX! X  HDEF( "@(#)$RCSfile: README.ncr,v $$Revision: 4.0.1.1 $$Date: 92/06/08 11:41:41 $" )X  X  /*X   * Structure returned by gettimeofday(2) system call,SHAR_EOF$TOUCH -am 0217113592 patch.twg &&chmod 0666 patch.twg ||echo "restore of patch.twg failed"set `wc -c patch.twg`;Wc_c=$1if test "$Wc_c" != "1593"; then	echo original size 1593, current size $Wc_cfi# ============= hints/ncr_tower.sh ==============if test ! -d 'hints'; then    echo "x - creating directory hints"    mkdir 'hints'fiecho "x - extracting hints/ncr_tower.sh (Text)"sed 's/^X//' << 'SHAR_EOF' > hints/ncr_tower.sh &&Xoptimize='-O0'Xccflags="$ccflags -W2,-Sl,2000"Xeval_cflags='large="-W0,-XL"'Xteval_cflags=$eval_cflagsXd_mkdir=$undefXusemymalloc='y'Xmallocsrc='malloc.c'Xmallocobj='malloc.o'SHAR_EOF$TOUCH -am 0214073692 hints/ncr_tower.sh &&chmod 0644 hints/ncr_tower.sh ||echo "restore of hints/ncr_tower.sh failed"set `wc -c hints/ncr_tower.sh`;Wc_c=$1if test "$Wc_c" != "176"; then	echo original size 176, current size $Wc_cfiexit 0

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -