summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafcol.lafayette.edu>1995-03-05 22:11:42 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1995-03-05 22:11:42 +0000
commit1fc4cb5503ed4e568f4cafd2aff20f315226e3bd (patch)
treec522b173c73f14eaa9d49a56d0d48830556ad8ba /hints
parent94b6baf514e11d40f0215cb928074cb7980c3082 (diff)
downloadperl-1fc4cb5503ed4e568f4cafd2aff20f315226e3bd.tar.gz
perl5.000 patch.0n: [address Configure and build issues]
This is my patch patch.0n for perl5.000. This _very_ small patch 1. updates the linux and dec_osf hints files, 2. adds sv_isobject to global.sym, 3. updates Configure to deal with recent Linux nm output, and 4. fixes the names in File::Path. This patch addresses only Configure and build issues for which I have tested solutions. It does nothing else. Maybe some of the other patches floating around should be included. Maybe not. I'm afraid I just don't have time to think about them now. Unless something's broken, I hope not to issue any more patches :-) (Yes, I've said that before, but this one's _really_ small, and linux support was broken.:-) Thanks to Kenneth Albanowski for researching, implementing, and testing the Linux patch.
Diffstat (limited to 'hints')
-rw-r--r--hints/dec_osf.sh8
-rw-r--r--hints/linux.sh14
2 files changed, 19 insertions, 3 deletions
diff --git a/hints/dec_osf.sh b/hints/dec_osf.sh
index 38b48e53e3..85de7cb042 100644
--- a/hints/dec_osf.sh
+++ b/hints/dec_osf.sh
@@ -1,3 +1,11 @@
# hints/dec_osf.sh
+case "$optimize" in
+'')
+ case "$cc" in
+ *gcc*) ;;
+ *) optimize='-O2 -Olimit 2900' ;;
+ esac
+ ;;
+esac
ccflags="$ccflags -DSTANDARD_C"
lddlflags='-shared -expect_unresolved "*" -s'
diff --git a/hints/linux.sh b/hints/linux.sh
index cde47b1cb9..97be1d76cd 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -1,14 +1,22 @@
# hints/linux.sh
# Original version by rsanders
-# Additional dlext support by Kenneth Albanowski <kjahds@kjahds.com>
+# Additional support by Kenneth Albanowski <kjahds@kjahds.com>
#
# First pass at ELF support by Andy Dougherty <doughera@lafcol.lafayette.edu>
# Fri Feb 3 14:05:00 EST 1995
# Use sh Configure -Dcc=gcc-elf to try using gcc-elf. It might work.
#
+# Last updated Mon Mar 6 10:18:10 EST 1995
+#
+
+# Why is this needed?
+bin='/usr/bin'
+
+# Apparently some versions of gcc 2.6.2 are picking up _G_HAVE_BOOL
+# from somewhere (_G_config.h maybe?) but not actually defining bool.
+# Anyone really know what's going on?
+ccflags='-Dbool=char -DHAS_BOOL'
-ccflags='-I/usr/include/bsd'
-cppflags=' -I/usr/include/bsd'
d_dosuid='define'
malloctype='void *'