X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=hints%2Fcxux.sh;h=e3ac086e235934c3331abb5f0ec18dd9c69773fc;hb=ed1af28e435c4f4992490e18b640d9daa5b5326a;hp=f2e8c17c10306cdb1984568e5e2cd0cc78f3e4f9;hpb=d83aa01ca04619f3fd5729b7be297347260be5d6;p=p5sagit%2Fp5-mst-13.2.git diff --git a/hints/cxux.sh b/hints/cxux.sh index f2e8c17..e3ac086 100644 --- a/hints/cxux.sh +++ b/hints/cxux.sh @@ -1,3 +1,4 @@ +#! /local/gnu/bin/bash # Hints for the CX/UX 7.1 operating system running on Concurrent (formerly # Harris) NightHawk machines. written by Tom.Horsley@mail.ccur.com # @@ -7,27 +8,27 @@ # case ${SDE_TARGET:-ELF} in [Cc][Oo][Ff][Ff]|[Oo][Cc][Ss]) echo '' - echo '' - echo WARNING: Do not build perl 5 with the SDE_TARGET set to - echo generate coff object - perl 5 must be built in the ELF - echo environment. - echo '' + echo '' >&2 + echo WARNING: Do not build perl 5 with the SDE_TARGET set to >&2 + echo generate coff object - perl 5 must be built in the ELF >&2 + echo environment. >&2 + echo '' >&2 echo '';; [Ee][Ll][Ff]) : ;; - *) echo '' - echo 'Unknown SDE_TARGET value: '$SDE_TARGET - echo '';; + *) echo '' >&2 + echo 'Unknown SDE_TARGET value: '$SDE_TARGET >&2 + echo '' >&2 ;; esac case `uname -r` in [789]*) : ;; *) echo '' - echo '' - echo WARNING: Perl 5 requires shared library support, it cannot - echo be built on releases of CX/UX prior to 7.0 with this hints - echo file. You\'ll have to do a separate port for the statically - echo linked COFF environment. - echo '' + echo '' >&2 + echo WARNING: Perl 5 requires shared library support, it cannot >&2 + echo be built on releases of CX/UX prior to 7.0 with this hints >&2 + echo file. You\'ll have to do a separate port for the statically >&2 + echo linked COFF environment. >&2 + echo '' >&2 echo '';; esac @@ -60,16 +61,18 @@ libswanted=`echo ' '$libswanted' ' | sed -e 's/ malloc / /'` # glibpth="/usr/sde/elf/usr/lib $glibpth" -# 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 +# 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 -# loaded on demand (and will try to reference those symbols). The -u -# option to drag 'sigaction' into the perl main program is to make sure -# it gets defined for the posix shared library (for some reason sigaction -# is static, rather than being defined in libc.so.1). +# loaded on demand (and will try to reference those symbols). The -u option +# to drag 'sigaction' into the perl main program is to make sure it gets +# defined for the posix shared library (for some reason sigaction is static, +# rather than being defined in libc.so.1). The 88110compat option makes sure +# the code will run on both 88100 and 88110 machines. The define is added to +# trigger a work around for a compiler bug which shows up in pp.c. # -cc='/bin/cc -Xa' +cc='/bin/cc -Xa -Qtarget=M88110compat -DCXUX_BROKEN_CONSTANT_CONVERT' cccdlflags='-Zelf -Zpic' ccdlflags='-Zelf -Zlink=dynamic -Wl,-Bexport -u sigaction' lddlflags='-Zlink=so' @@ -91,7 +94,7 @@ i_ndbm='undef' d_mymalloc='undef' usemymalloc='n' -cat <<'EOM' +cat <<'EOM' >&4 WARNING: If you are using ksh to run the Configure script, you may find it failing in mysterious ways (such as failing to find library routines which