From: Roderick Schertler Date: Fri, 29 Nov 1996 23:20:16 +0000 (-0500) Subject: hints/dgux.sh update X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=735aabf6eb108bfac2ee42bafd64901e409d5589;p=p5sagit%2Fp5-mst-13.2.git hints/dgux.sh update Here's an update for the dgux hints file. p5p-msgid: <24178.849309616@eeyore.ibcinc.com> --- diff --git a/hints/dgux.sh b/hints/dgux.sh index 1409d37..0b9dd11 100644 --- a/hints/dgux.sh +++ b/hints/dgux.sh @@ -1,13 +1,13 @@ -# $Id: dgux.sh,v 1.4 1996/01/18 03:40:38 roderick Exp $ +# $Id: dgux.sh,v 1.8 1996-11-29 18:16:43-05 roderick Exp $ # This is a hints file for DGUX, which is Data General's Unix. It was -# developed using version 5.4.3.10 of the OS. I think the gross -# features should work with versions 5.4.2 through 5.4.4.11 with perhaps -# minor tweaking, but I don't have any older or newer versions installed -# at the moment with which to test it. +# originally developed with version 5.4.3.10 of the OS, and then was +# later updated running under version 4.11.2 (running on m88k hardware). +# The gross features should work with versions going back to 2.nil but +# some tweaking will probably be necessary. # # DGUX is a SVR4 derivative. It ships with gcc as the standard -# compiler. Since version 5.4.3.0 it has shipped with Perl 4.036 +# compiler. Since version 3.0 it has shipped with Perl 4.036 # installed in /usr/bin, which is kind of neat. Be careful when you # install that you don't overwrite the system version, though (by # answering yes to the question about installing perl as /usr/bin/perl), @@ -34,7 +34,7 @@ # cppstdin='/lib/cpp' # # The 4.036 and 5.001 hints files both contained these. The 5.001 hints -# file said it was developed with version 5.4.2.01 of DGUX. +# file said it was developed with version 2.01 of DGUX. # # gidtype='gid_t' # groupstype='gid_t' @@ -53,7 +53,7 @@ # # One last note: The 5.001 hints file said "you don't want to use # /usr/ucb/cc" in the place at which it set cc to gcc. That in -# particular baffles me, as I used to have 5.4.2.01 loaded and my memory +# particular baffles me, as I used to have 2.01 loaded and my memory # is telling me that even then /usr/ucb was a symlink to /usr/bin. @@ -82,8 +82,45 @@ usevfork=true # $plibpth to explicitly include the place to which the elinks point # allows Configure to find libraries which vary based on the development # environment. -plibpth="$plibpth \ - ${SDE_PATH:-/usr}/sde/${TARGET_BINARY_INTERFACE:-m88kdgux}/usr/lib" +# +# Starting with version 4.10 (the first time the OS supported Intel +# hardware) all libraries are accessed with this mechanism. +# +# The default $TARGET_BINARY_INTERFACE changed with version 4.10. The +# system now comes with a link named /usr/sde/default which points to +# the proper entry, but older versions lacked this and used m88kdgux +# directly. + +: && sde_path=${SDE_PATH:-/usr}/sde # hide from Configure +while : # dummy loop +do + if [ -n "$TARGET_BINARY_INTERFACE" ] + then set X "$TARGET_BINARY_INTERFACE" + else set X default dg m88k_dg ix86_dg m88kdgux m88kdguxelf + fi + shift + default_sde=$1 + for sde + do + [ -d "$sde_path/$sde" ] && break 2 + done + cat <