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=${CFLAGS-"-D_XOPEN_SOURCE=700 -D_SYSV -D_VOS_EXTENDED_NAMES -D_FILE_OFFSET_BITS=64"}
14 make=${MAKE-"/system/gnu_library/bin/gmake"}
15 # indented to not put it into config.sh
16 _make=${MAKE-"/system/gnu_library/bin/gmake"}
18 # Check for the minimum acceptable release of OpenVOS (17.1.0).
19 if test `uname -r | sed -e 's/OpenVOS Release //' -e 's/VOS Release //'` \< "17.1.0"; then
22 *** This version of Perl 5 must be built on OpenVOS Release 17.1.0 or later.
28 # Architecture name always X86
32 # No, this is not a typo. The ".pm" really is the native
33 # executable suffix in VOS. Talk about cosmic resonance.
36 # Object library paths.
37 loclibpth="$loclibpth /system/posix_object_library"
38 loclibpth="$loclibpth /system/c_object_library"
39 loclibpth="$loclibpth /system/object_library"
42 # Include library paths
44 usrinc=${USRINC-"/system/include_library"}
46 # Where to install perl5.
52 # Don't use nm. The VOS copy of libc.a is empty.
55 # Don't use malloc that comes with perl.
58 # Make bison the default compiler-compiler.
59 yacc="/system/gnu_library/bin/bison"
61 # VOS doesn't need a pager, but perl does.
62 pager="/system/gnu_library/bin/less.pm"
64 # VOS has a bug that causes _exit() to flush all files.
65 # This confuses the tests. Make 'em happy here.
68 # VOS has a link() function but it is a dummy.
71 # VOS does not have truncate() but we supply one in vos.c
75 # Help gmake find vos.c
76 test -h vos.c || ln -s vos/vos.c vos.c
78 # Tell Configure where to find the hosts file.
79 hostcat="cat /system/stcp/hosts"
81 # VOS 17.1 has support for dynamic linking.
84 # Filename suffix for shared libraries.
87 # Flags used when compiling a module for a shared library.
90 # Flags passed to $ld to produce shared libraries.
93 # Flags passed to $cc when linking a program that uses shared libraries.
94 ccdlflags="-Wl,-export-dynamic"
96 # Filename suffix for dynamically-loaded perl modules.
99 # Use dlopen() to open shared libraries.
102 # Build a shared libperl? (Define on Configure cmd line.)