From: John Stoffel Date: Thu, 13 Feb 1997 02:38:51 +0000 (-0500) Subject: Irix6.4 (with 7.1 compilers) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=57d51fe74c853a68e4abef82668e025a797ee752;p=p5sagit%2Fp5-mst-13.2.git Irix6.4 (with 7.1 compilers) Subject: Irix6.4 (with 7.1 compilers) passes 100% with patch >>>>> "John" == John Stoffel writes: John> I had to apply the following patch to the Irix_6_4.sh hints file to John> get it to compile under Irix 6.4 with the version 7.1 compilers John> installed. Thanks to Hallvard Furuseth for pointing out that the John> pp_sys_cflags line _has_ to be in the left most column. This leads me John> to believe that the following hints files will have problems: Ooops! I messed up on the patch for Irix_6_2.sh, so here's the entire patch again to fix the problem as reported under Irix 6.[24]. I don't have a 6.3 machine to test with right now, since I have to install the compilers first. More when I get a chance. p5p-msgid: <199702130238.VAA24468@jfs.Fluent.COM> --- diff --git a/hints/irix_6_2.sh b/hints/irix_6_2.sh index 11fd52e..1671374 100644 --- a/hints/irix_6_2.sh +++ b/hints/irix_6_2.sh @@ -6,27 +6,30 @@ # Andy Dougherty # with help from Dean Roehrich . # cc -n32 update info from Krishna Sethuraman, krishna@sgi.com. - +# +# Updated Feb 12, 1997 +# John Stoffel +# # Use sh Configure -Dcc='cc -n32' to try compiling with -n32. case "$cc" in *"cc -n32"*) - 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' - 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" - ;; +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' +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 # We don't want these libraries. Anyone know why? diff --git a/hints/irix_6_4.sh b/hints/irix_6_4.sh index b5a9945..4d28317 100644 --- a/hints/irix_6_4.sh +++ b/hints/irix_6_4.sh @@ -1,13 +1,27 @@ # 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. +# 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" +pp_sys_cflags='ccflags="$ccflags -DHAS_TELLDIR_PROTOTYPE"' +optimize="-O2" +;; +*) ccflags="$ccflags -Olimit 3000" +;; +esac + +unset irix_hint_cc # Gets rid of some extra libs that don't seem to be really needed. # See the Irix 6.2 hints file for some justifications.