aboutsummaryrefslogtreecommitdiffstats
path: root/README_d
diff options
context:
space:
mode:
Diffstat (limited to 'README_d')
-rw-r--r--README_d/README.cygwin-dynamic88
-rw-r--r--README_d/README.pc16
-rw-r--r--README_d/README.solaris140
3 files changed, 8 insertions, 236 deletions
diff --git a/README_d/README.cygwin-dynamic b/README_d/README.cygwin-dynamic
deleted file mode 100644
index 948538fd..00000000
--- a/README_d/README.cygwin-dynamic
+++ /dev/null
@@ -1,88 +0,0 @@
-From: courierdavid@hotmail.com
-Newsgroups: comp.lang.awk
-Subject: Re: Compiling gawk extensions under Cygwin
-Date: 14 Mar 2005 20:47:09 -0800
-Organization: http://groups.google.com
-Lines: 67
-Message-ID: <1110862029.175727.109280@o13g2000cwo.googlegroups.com>
-References: <1e4e8dbe.0501140813.18248833@posting.google.com>
- <u62nb2-pro.ln1@news.heiming.de>
-NNTP-Posting-Host: 194.237.142.24
-Mime-Version: 1.0
-Content-Type: text/plain; charset="iso-8859-1"
-X-Trace: posting.google.com 1110862033 8921 127.0.0.1 (15 Mar 2005 04:47:13 GMT)
-X-Complaints-To: groups-abuse@google.com
-NNTP-Posting-Date: Tue, 15 Mar 2005 04:47:13 +0000 (UTC)
-User-Agent: G2/0.2
-Complaints-To: groups-abuse@google.com
-Injection-Info: o13g2000cwo.googlegroups.com; posting-host=194.237.142.24;
- posting-account=Iz4C5wwAAABx1yG_ft8eEAI99Wu1Tku1
-Path: news.012.net.il!seanews2.seabone.net!newsfeed.albacom.net!news.mailgate.org!newsfeed.stueberl.de!proxad.net!64.233.160.134.MISMATCH!postnews.google.com!o13g2000cwo.googlegroups.com!not-for-mail
-Xref: news.012.net.il comp.lang.awk:21835
-
-Thanks for your help there Michael. I wouldn't have thought of that one
-myself without your help :-)
-
-Anyway - for those who must stick with Cygwin here's a method that
-works using the mingw32 makefiles and some modifications:
-
-Basically you need to extract all exportable symbol names from the
-gawk.exe file into a text file and then create a dummy library file
-which we can link against on Cygwin. You then throw the library file
-away because in reality we use the gawk.exe file as the provider of
-those functions.
-
-1. First grab the gawk source, e.g. gawk-3.1.4.tar.bz2 and decompress
-it.
-2. Move to the gawk-3.1.4 directory you just created.
-3. cp pc/* . (copy the pc directory into the main one)
-4. edit makefile - uncomment lines "DYN_FLAGS", "DYN_EXP", "DYN_OBJ"
-and "DYN_MAKEXP=$(DMEmingw32)
-5. make mingw32 (make a gawk.exe)
-6. run "gcc -o gawk.exe array.o builtin.o eval.o field.o gawkmisc.o
-io.o main.o ext.o msg.o node.o profile.o re.o version.o dlfcn.o
-gawk.exp awkgram.o getid.o popen.o getopt.o getopt1.o dfa.o regex.o
-random.o" (i.e. remove the -s from the compile command from the
-makefile so the symbols are left in gawk.exe)
-
-now export all symbols from gawk.exe into foo.def so that we can put
-these in our library
-7. echo EXPORTS > foo.def
-8. nm gawk.exe | grep -E ' [TBD] _' | sed 's/.* [TBD] _//' >> foo.def
-9. cp foo.def gawkw32.def
-
-build the new library with all symbols included
-10. make mingw32
-
-Now you will see a file "libgawk.a" which you can link against to
-create extensions. For example to build an extension called "file" run:
-
-gcc -shared -dll -DHAVE_CONFIG_H -I . extension/file.c -o file.dll -L .
--lgawk
-
-Then you can load it in gawk using the expression:
-
-extension("./file.dll", "dlload");
-
-You must use the gawk you compiled from source though. It won't work
-with any other gawk unfortunately :-( But that's OK because the
-stripped gawk is not too big in size.
-
-Cheers,
-Dave.
-
-Michael Heiming wrote:
-> In comp.lang.awk David Smith <courierdavid@hotmail.com>:
-> > Has anyone managed to compile gawk extensions (such as "filefuncs")
-> > under Cygwin?
->
-> Solution is pretty simple, install a real OS, Linux/*BSD or any
-> other unix and this and further problems won't happen.
->
-> Good luck
->
-> --
-> Michael Heiming (X-PGP-Sig > GPG-Key ID: EDD27B94)
-> mail: echo zvpunry@urvzvat.qr | perl -pe 'y/a-z/n-za-m/'
-> #bofh excuse 242: Software uses US measurements, but the OS
-> is in metric...
diff --git a/README_d/README.pc b/README_d/README.pc
index a95ada64..12e4279a 100644
--- a/README_d/README.pc
+++ b/README_d/README.pc
@@ -9,8 +9,8 @@ version for Windows 9x/NT, and MSC can be used to build 16-bit versions
for DOS and OS/2. (As of 3.1.2, the MSC version doesn't work, but the
maintainer for it is working on fixing it.)
- The cygwin environment (http://www.cygwin.com) may also be used
-to compile and run gawk under Windows. For cygwin, building and
+ The Cygwin environment (http://cygwin.com) may also be used
+to compile and run gawk under Windows. For Cygwin, building and
installation is the same as under Unix:
tar -xvpzf gawk-3.1.x.tar.gz
@@ -20,7 +20,7 @@ installation is the same as under Unix:
The `configure' step takes a long time, but works otherwise.
******************************** N O T E **********************************
-* The `|&' operator only works when gawk is compiled for cygwin. Neither *
+* The `|&' operator only works when gawk is compiled for Cygwin. Neither *
* socket support nor two-way pipes work in any other Windows environment! *
***************************************************************************
@@ -187,10 +187,10 @@ plus under OS/2 even for command-line programs, native Windows32 versions
may be desired under NT and Win95.
Users interested in Windows32 applications may also wish to examine the
-Cygnus cygwin project at http://sources.redhat.com/cygwin/ or the
-Mingw32 work at http://www.mingw.org. Windows32 gawk will often require
-that utilities run from within gawk be Windows32 (e.g., the tests place this
-requirement on the cat utility).
+Red Hat Cygwin project at http://cygwin.com/ or the Mingw32 work at
+http://www.mingw.org. Windows32 gawk will often require that utilities run
+from within gawk be Windows32 (e.g., the tests place this requirement on the
+cat utility).
3. An sh-like shell may be useful for awk programming (and is essential
@@ -344,7 +344,7 @@ FPU after a program exits, so if Make has SIGFPE unmasked, it crashes."
9. gawk built from the mingw32 and vcWin32 targets continues to have
problems with pipes; in particular, the pipeio1 test fails.
-10. As mentioned above, `|&' only works with cygwin.
+10. As mentioned above, `|&' only works with Cygwin.
Gawk thanks
diff --git a/README_d/README.solaris b/README_d/README.solaris
index c5829643..60b7a42a 100644
--- a/README_d/README.solaris
+++ b/README_d/README.solaris
@@ -5,143 +5,3 @@ not gawk.
Arnold Robbins
arnold@skeeve.com
-
------- Stuff below here is probably only of historical interest ----------
-Solaris Problem #1:
-===================
-From: carson@lehman.com
-Date: Fri, 7 Feb 1997 01:05:58 -0500
-To: arnold@gnu.ai.mit.edu
-Subject: Solaris 2.5.1 x86 bug in gawk-3.0.2
-
-awktab.c has the following bogus logic:
-
-#ifndef alloca
-#ifdef __GNUC__
-#define alloca __builtin_alloca
-#else /* not GNU C. */
-#if (!defined (__STDC__) && defined (sparc)) || defined (__sparc__) || defined (__sparc) || defined (__sgi)
-#include <alloca.h>
-#else /* not sparc */
-
-Solaris x86 obviously dosn't define sparc or __sparc.
-
-What you _meant_ to say was:
-
-if (defined(__sun) && defined(__SVR4))
-
-(which identifies Solaris 2.x under both Sun's cc and gcc)
-
---
-Carson Gaspar -- carson@cs.columbia.edu carson@lehman.com
-http://www.cs.columbia.edu/~carson/home.html
-<This is the boring business .sig - no outre sayings here>
-
- * * * * * * *
-
-Solution to Problem #1:
-=======================
-Tue Oct 20 21:25:11 IST 1998
-
-This has been fixed in 3.1.0 with the bisonfix.sed script.
-
-Arnold Robbins
-arnold@skeeve.com
-
-Solaris Problem #2:
-===================
-Tue Apr 13 16:57:45 IDT 1999
-
-There is a known problem in that the `manyfiles' test will fail under
-Solaris if you set your soft limit on the number of file descriptors to
-above 256. This is due to a "feature" of fdopen that an fd must be
-less than 256 (see fdopen(3)).
-
-IMHO this is Sun's problem, not mine.
-
-Arnold Robbins
-arnold@skeeve.com
-
-Solution (a) to Problem #2:
-===========================
-Now fixed in the code via Paul Eggert's 2001-09-0 patch. See the
-ChangeLog.
-
-Solution (b) to Problem #2:
-===========================
-From: Paul Nevai <nevai@math.ohio-state.edu>
-Subject: Re: gawk-3.0.4
-To: arnold@skeeve.com (Aharon Robbins)
-Date: Tue, 6 Jul 1999 09:09:05 -0400 (EDT)
-
-Dear Aharon:
-
-Toda raba. Why don't you add something like that to README_d/README.solaris
-file:
-
-for the SunOS do in
-
-/bin/sh: ulimit -n 256; ulimit -a; make test
-/bin/tcsh: limit descriptors 256; ulimit -a; make test
-
-otherwise "make test" will fail
-
-Shalom, Paul
-
-Aharon Robbins wrote to Paul Nevai:
-# >From the README_d/README.solaris file:
-#
-# Tue Apr 13 16:57:45 IDT 1999
-#
-# There is a known problem in that the `manyfiles' test will fail under
-# Solaris if you set your soft limit on the number of file descriptors to
-# above 256. This is due to a "feature" of fdopen that an fd must be
-# less than 256 (see fdopen(3)).
-#
-# IMHO this is Sun's problem, not mine.
-#
-# Arnold Robbins
-# arnold@skeeve.com
-#
-# Double check your settings with ulimit; I suspect that this is
-# your problem.
-#
-# Thanks,
-#
-# Arnold
-# --
-# Aharon (Arnold) Robbins arnold@skeeve.com [ <<=== NOTE: NEW ADDRESS!! ]
-# P.O. Box 354 Home Phone: +972 8 979-0381 Fax: +1 603 761-6761
-# Nof Ayalon Cell Phone: +972 51 297-545 (See www.efax.com)
-# D.N. Shimshon 99784 Laundry increases exponentially in the
-# ISRAEL number of children. -- Miriam Robbins
-#
-#
-
-
-
-Paul Nevai pali+@osu.edu
-Department of Mathematics nevai@math.ohio-state.edu
-The Ohio State University http://www.math.ohio-state.edu/~nevai/
-231 West Eighteenth Avenue http://www.math.ohio-state.edu/~jat/
-Columbus, Ohio 43210-1174 1-614-292-5310 (Office/Answering Device)
-The United States of America 1-614-292-1479 (Math Dept Fax)
-
-Solaris Problem #3:
-===================
-Sun Feb 9 10:35:51 IST 2003
-
-Certain versions of Sun C give compilation errors under Solaris 5.5, 5.6 and
-possibly later. Here's what I was told:
-
-> We have this version of cc here:
-> cc -V
-> cc: Sun WorkShop 6 update 1 C 5.2 2000/09/11
->
-> Probably, the others use different combinations of OS and CC.
-> A quick fix was this (we use csh-syntax here):
->
-> setenv CC "/opt/SUNWspro/bin/cc -Xc"
-> ./configure
-> make check
-