From: Nick Holloway (alfie@dcs.warwick.ac.uk)
Date: 02/17/93


From: alfie@dcs.warwick.ac.uk (Nick Holloway)
Subject: Perl 4.036 on Linux 0.99.5 + gcc 2.3.3 + libc.so.4.3
Date: Wed, 17 Feb 1993 15:41:09 GMT

Success!

At the end of this posting is a hints file for Linux which will get Perl
to Configure and compile straight from the box.

To pass all the tests (especially lib/big.t) it requires a patch to the
fpu-emu. I guess this will exist in 0.99.6 for those with patience,
or possibly in the alpha patches. (If it doesn't appear naturally,
I could upload it somewhere, with Bill Metzenthen's permission). To get
io/pipe.t to work, you need to have the 4.3 library (problems with EPIPE
not being acted upon).

The only thing I am not sure about is whether the action of the signal
handlers should mimic the underlying system or BSD. If compiled as-is,
the signal handler will need to be reset when called. Under Linux,
this can be done by adding 'ccflags=-D__USE_BSD_SIGNAL' to the hints.

However, should Perl scripts be written to do this, or should Configure
test for this, and have it in the perl source code?

[ One caveat with the 4.3 library was that bash would randomly drop core.
  This was not repeatable. Running the same script would work the
  next time. This happened when running the 'lndir' script, and when
  the Perl makefile was running 'cflags'.
]

#! /bin/sh
# This is a shell archive, meaning:
# 1. Remove everything above the #! /bin/sh line.
# 2. Save the resulting text in a file.
# 3. Execute the file with /bin/sh (not csh) to create the files:
# hints/linux.sh
# This archive created: Wed Feb 17 11:24:56 1993
export PATH; PATH=/bin:$PATH
if test -f 'hints/linux.sh'
then
        echo shar: will not over-write existing file "'hints/linux.sh'"
else
cat << \SHAR_EOF > 'hints/linux.sh'
optimize='-O2'
cppstdin='/lib/cpp -traditional'
usemymalloc=n
mallocsrc=''
mallocobj=''
yacc='bison -y'
SHAR_EOF
fi # end of overwriting check
# End of shell archive
exit 0