X-Git-Url: https://perl5.git.perl.org/perl5.git/blobdiff_plain/92d4dc7f414eb6bd3671a3f7306b6c87f0268487..b735b77b373b25182762b9b76850586c9d74e2ab:/hints/vos.sh diff --git a/hints/vos.sh b/hints/vos.sh index 037a6f3..0a3a677 100644 --- a/hints/vos.sh +++ b/hints/vos.sh @@ -1,25 +1,34 @@ -# $Id: vos.sh,v 1.0 2001-12-11 09:30:00-05 Green Exp $ - -# This is a hints file for Stratus VOS, using the POSIX environment -# in VOS 14.4.0 and higher. +# This is a hints file for Stratus OpenVOS, using the POSIX environment +# found in VOS 17.1.0 and higher. # -# VOS POSIX is based on POSIX.1-1996. It ships with gcc as the standard -# compiler. +# OpenVOS POSIX is based on POSIX.1-1996 and contains elements of +# POSIX.1-2001. It ships with gcc as the standard compiler. # # Paul Green (Paul.Green@stratus.com) # C compiler and default options. cc=gcc -ccflags="-D_BSD_SOURCE -D_POSIX_C_SOURCE=199509L" +ccflags="-D_XOPEN_SOURCE=700 -D_VOS_EXTENDED_NAMES" +ccdlflags="-Wl,-rpath,$shrpdir" +cccdlflags="-fPIC" # Make command. make="/system/gnu_library/bin/gmake" - -# Architecture name -archname="hppa1.1" - -# POSIX commands are here. -# paths="/system/gnu_library/bin" +# indented to not put it into config.sh + _make="/system/gnu_library/bin/gmake" + +# Check for the minimum acceptable release of OpenVOS (17.1.0). +if test `uname -r | sed -e 's/OpenVOS Release //' -e 's/VOS Release //'` \< "17.1.0"; then +cat >&4 <