X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fpowerux.sh;h=fd2ebe682db38930c562a0624161763c4a2f3c2c;hb=3f4fc4634a226330cf98eab6871f26f45d52e425;hp=b1c082651f611dd0a1d5c41f101fe5abd11b77d1;hpb=c07a80fdfe3926b5eb0585b674aa5d1f57b32ade;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/powerux.sh b/hints/powerux.sh index b1c0826..fd2ebe6 100644 --- a/hints/powerux.sh +++ b/hints/powerux.sh @@ -1,10 +1,14 @@ -# Hints for the PowerUX operating system running on Harris NightHawk -# machines. Written by Tom.Horsley@mail.hcsc.com +# Hints for the PowerUX operating system running on Concurrent (formerly +# Harris) NightHawk machines. Written by Tom.Horsley@mail.ccur.com # -# This config uses dynamic linking and the Harris C compiler. It has been -# tested on a Harris 6800 running PowerUX. +# Note: The OS is fated to change names again to PowerMAX OS, but this +# PowerUX file should still work (I wish marketing would make up their mind +# about the name :-). +# +# This config uses dynamic linking and the Concurrent C compiler. It has +# been tested on Power PC based 6000 series machines running PowerUX. -# Internally at Harris, we use a source management tool which winds up +# Internally at Concurrent, we use a source management tool which winds up # giving us read-only copies of source trees that are mostly symbolic links. # That upsets the perl build process when it tries to edit opcode.h and # embed.h or touch perly.c or perly.h, so turn those files into "real" files @@ -26,9 +30,10 @@ then fi # We DO NOT want -lmalloc or -lPW, we DO need -lgen to follow -lnsl, so -# fixup libswanted to reflect that desire. +# fixup libswanted to reflect that desire (also need -lresolv if you want +# DNS name lookup to work, which seems desirable :-). # -libswanted=`echo ' '$libswanted' ' | sed -e 's/ malloc / /' -e 's/ PW / /' -e 's/ nsl / nsl gen /'` +libswanted=`echo ' '$libswanted' ' | sed -e 's/ malloc / /' -e 's/ PW / /' -e 's/ nsl / nsl gen resolv /'` # We DO NOT want /usr/ucblib in glibpth # @@ -39,7 +44,7 @@ glibpth=`echo ' '$glibpth' ' | sed -e 's@ /usr/ucblib @ @'` # d_csh='undef' -# Need to use Harris cc for most of these options to be meaningful (if you +# Need to use Concurrent cc for most of these options to be meaningful (if you # want to get this to work with gcc, you're on your own :-). Passing # -Bexport to the linker when linking perl is important because it leaves # the interpreter internal symbols visible to the shared libs that will be @@ -58,6 +63,18 @@ lddlflags='-Zlink=so' # i_ndbm='undef' +# There is a bug in memcmp (which I hope will be fixed soon) which sometimes +# fails to provide the correct compare status (it is data dependant), so just +# pretend there is no memcmp... +# +d_memcmp='undef' + +# Due to problems with dynamic linking (which I also hope will be fixed soon) +# you can't build a libperl.so, the core has to be in the static part of the +# perl executable. +# +useshrplib='false' + # Misc other flags that might be able to change, but I know these work right. # d_suidsafe='define'