summaryrefslogtreecommitdiff
path: root/hints/linux.sh
diff options
context:
space:
mode:
authorAndy Dougherty <doughera@lafcol.lafayette.edu>1995-04-18 01:06:04 +0000
committerAndy Dougherty <doughera@lafcol.lafayette.edu>1995-04-18 01:06:04 +0000
commitf0b7e567eb499713477c3eec4806ba74015e12df (patch)
tree5e477773bbd88ff38d2f0978ce5f3deeb7ee4119 /hints/linux.sh
parent5d94fbed3754780f11eb4db2d2379544cacb60e1 (diff)
downloadperl-f0b7e567eb499713477c3eec4806ba74015e12df.tar.gz
perl5.001 patch.1e
Here's what's included: Configure Change a few more spots so that ' ' is equivalent to "none". This allows hint files to set empty values for variables. Split cpp-symbol awk command for old awk (Harris Night Hawk). hints/irix_5.sh hints/irix_6.sh Explicitly use 'ld' rather than 'cc' to build dynamic modules. hints/linux.sh Allow users to specify an alternate compiler on the command line, e.g. Configure -Dcc=gcc-elf. lib/ExtUtils/MakeMaker.pm Fix CC substitution to allow c++ and variants as well. perl.c fputs("Unofficial patchlevel 1e.\n",stdout); pod/Makefile Include $(TEX) target for running pod2latex. Include some fixes from Bill Middleton.
Diffstat (limited to 'hints/linux.sh')
-rw-r--r--hints/linux.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/hints/linux.sh b/hints/linux.sh
index 46059e0731..00643ca2f9 100644
--- a/hints/linux.sh
+++ b/hints/linux.sh
@@ -10,6 +10,10 @@
#
# Last updated Thu Apr 6 12:22:03 EDT 1995
#
+# If you wish to use something other than 'gcc' for your compiler,
+# you should specify it on the Configure command line. To use
+# gcc-elf, for exmample, type
+# ./Configure -Dcc=gcc-elf
# perl goes into the /usr tree. See the Filesystem Standard
# available via anonymous FTP at tsx-11.mit.edu in
@@ -64,7 +68,7 @@ main() {
exit(0); /* succeed (yes, it's ELF) */
}
EOM
-if gcc try.c >/dev/null 2>&1 && ./a.out; then
+if ${cc:-gcc} try.c >/dev/null 2>&1 && ./a.out; then
cat <<'EOM'
You appear to have ELF support. I'll try to use it for dynamic loading.