diff options
author | Chip Salzenberg <chip@atlantic.net> | 1997-02-18 13:22:00 +1200 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1997-02-18 13:22:00 +1200 |
commit | f08dbc0c9c884adc675eb2bc74f05baf0bd52b9b (patch) | |
tree | 7344aba599cf6004db241e0cf6be41fde911b924 /hints | |
parent | 9ff77f459673f3ea7b0e9276d15733b1b64500af (diff) | |
download | perl-f08dbc0c9c884adc675eb2bc74f05baf0bd52b9b.tar.gz |
Irix6.4 (with 7.1 compilers)
(this is the same change as commit 57d51fe74c853a68e4abef82668e025a797ee752, but as applied)
Diffstat (limited to 'hints')
-rw-r--r-- | hints/irix_6_2.sh | 8 | ||||
-rw-r--r-- | hints/irix_6_4.sh | 19 |
2 files changed, 20 insertions, 7 deletions
diff --git a/hints/irix_6_2.sh b/hints/irix_6_2.sh index 11fd52eb7e..44ea859eb3 100644 --- a/hints/irix_6_2.sh +++ b/hints/irix_6_2.sh @@ -14,21 +14,21 @@ case "$cc" in ld=ld ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -woff 1009,1110,1184 -OPT:fprop_limit=1500" optimize='none' # Miniperl core dumps with -O - pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"' - lddlflags="-n32 -shared" ldflags=' -L/usr/local/lib -L/usr/lib32 -L/lib32' + cccdlflags=' ' + lddlflags="-n32 -shared" libc='/usr/lib32/libc.so' plibpth='/usr/lib32 /lib32 /usr/ccs/lib' - nm_opt='-p' nm_so_opt='-p' - cccdlflags=' ' ;; *) ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -Olimit 3000" ;; esac +pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"' + # We don't want these libraries. Anyone know why? set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'` shift diff --git a/hints/irix_6_4.sh b/hints/irix_6_4.sh index b5a994525a..056ed78080 100644 --- a/hints/irix_6_4.sh +++ b/hints/irix_6_4.sh @@ -1,13 +1,26 @@ # hints/irix_6_4.sh # -# Created by John Stoffel (jfs@fluent.com), 01/13/1997 +# Created by John Stoffel (jfs@fluent.com), 02/11/1997 # Based on the Irix 6.2 hints file, but simplified. # Configure can't parse 'nm' output on Irix 6.4 usenm='n' -# This keeps optimizer warnings quiet. -ccflags="$ccflags -Olimit 3000" +# The new Irix IDO v7.1 compiler is strange... + +irix_hint_cc=`cc -version 2>&1` +case "$irix_hint_cc" in +*7.1*) + ccflags="$ccflags -OPT:Olimit=13000 -w" + optimize="-O2" + ;; +*) + ccflags="$ccflags -Olimit 3000" + ;; +esac +unset irix_hint_cc + +pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"' # Gets rid of some extra libs that don't seem to be really needed. # See the Irix 6.2 hints file for some justifications. |