diff options
Diffstat (limited to 'hints')
-rw-r--r-- | hints/irix_5.sh | 1 | ||||
-rw-r--r-- | hints/irix_6.sh | 1 | ||||
-rw-r--r-- | hints/linux.sh | 6 |
3 files changed, 7 insertions, 1 deletions
diff --git a/hints/irix_5.sh b/hints/irix_5.sh index 113312b43d..2f1e8559e7 100644 --- a/hints/irix_5.sh +++ b/hints/irix_5.sh @@ -1,4 +1,5 @@ # irix_5.sh +ld=ld i_time='define' ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000" lddlflags="-shared" diff --git a/hints/irix_6.sh b/hints/irix_6.sh index 5752c25e1c..0c4b0fc7b5 100644 --- a/hints/irix_6.sh +++ b/hints/irix_6.sh @@ -7,6 +7,7 @@ # Perl built with this hints file under IRIX 6.0.1 passes # all tests (`make test'). +ld=ld i_time='define' cc="cc -32" ccflags="$ccflags -D_POSIX_SOURCE -ansiposix -D_BSD_TYPES -Olimit 3000" 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. |