1 # This is a hints file for Stratus OpenVOS, using the POSIX environment
2 # found in VOS 17.1.0 and higher.
4 # OpenVOS POSIX is based on POSIX.1-1996 and contains elements of
5 # POSIX.1-2001. It ships with gcc as the standard compiler.
7 # Paul Green (Paul.Green@stratus.com)
9 # C compiler and default options.
11 ccflags="-D_XOPEN_SOURCE=700 -D_VOS_EXTENDED_NAMES"
12 ccdlflags="-Wl,-rpath,$shrpdir"
16 make="/system/gnu_library/bin/gmake"
17 # indented to not put it into config.sh
18 _make="/system/gnu_library/bin/gmake"
20 # Check for the minimum acceptable release of OpenVOS (17.1.0).
21 if test `uname -r | sed -e 's/OpenVOS Release //' -e 's/VOS Release //'` \< "17.1.0"; then
24 *** This version of Perl 5 must be built on OpenVOS Release 17.1.0 or later.
34 # No, this is not a typo. The ".pm" really is the native
35 # executable suffix in VOS. Talk about cosmic resonance.
38 # Object library paths.
39 loclibpth="$loclibpth /system/posix_object_library"
40 loclibpth="$loclibpth /system/c_object_library"
41 loclibpth="$loclibpth /system/object_library"
44 # Include library paths
46 usrinc="/system/include_library"
48 # Where to install perl5.
49 prefix=/system/ported/perl5
61 # Don't use nm. The VOS copy of libc.a is empty.
64 # Make the default be no large file support.
67 # Don't use malloc that comes with perl.
70 # Make bison the default compiler-compiler.
71 yacc="/system/gnu_library/bin/bison"
73 # VOS doesn't have (or need) a pager, but perl needs one.
74 pager="/system/gnu_library/bin/cat.pm"
76 # VOS has a bug that causes _exit() to flush all files.
77 # This confuses the tests. Make 'em happy here.
80 # VOS has a link() function but it is a dummy.
83 # VOS does not have truncate() but we supply one in vos.c
87 # Help gmake find vos.c
88 test -h vos.c || ln -s vos/vos.c vos.c
90 # Tell Configure where to find the hosts file.
91 hostcat="cat /system/stcp/hosts"