This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Move the call to hv_clear_placeholders() from hsplit() to hv_common().
[perl5.git] / hints / vos.sh
... / ...
CommitLineData
1# This is a hints file for Stratus OpenVOS, using the POSIX environment
2# found in VOS 17.1.0 and higher.
3#
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.
6#
7# Paul Green (Paul.Green@stratus.com)
8
9# C compiler and default options.
10cc=gcc
11ccflags="-D_XOPEN_SOURCE=700 -D_VOS_EXTENDED_NAMES"
12ccdlflags="-Wl,-rpath,$shrpdir"
13cccdlflags="-fPIC"
14
15# Make command.
16make="/system/gnu_library/bin/gmake"
17# indented to not put it into config.sh
18 _make="/system/gnu_library/bin/gmake"
19
20# Check for the minimum acceptable release of OpenVOS (17.1.0).
21if test `uname -r | sed -e 's/OpenVOS Release //' -e 's/VOS Release //'` \< "17.1.0"; then
22cat >&4 <<EOF
23***
24*** This version of Perl 5 must be built on OpenVOS Release 17.1.0 or later.
25***
26EOF
27exit 1
28fi
29
30# Always X86
31archname=`uname -m`
32
33# Executable suffix.
34# No, this is not a typo. The ".pm" really is the native
35# executable suffix in VOS. Talk about cosmic resonance.
36_exe=".pm"
37
38# Object library paths.
39loclibpth="$loclibpth /system/posix_object_library"
40loclibpth="$loclibpth /system/c_object_library"
41loclibpth="$loclibpth /system/object_library"
42glibpth="$loclibpth"
43
44# Include library paths
45locincpth=""
46usrinc="/system/include_library"
47
48# Where to install perl5.
49prefix=/system/ported/perl5
50
51# Linker is gcc.
52ld="gcc"
53lddlflags="-shared"
54
55# Shared libraries!
56so="so"
57
58# Build libperl.so
59useshrplib="true"
60
61# Don't use nm. The VOS copy of libc.a is empty.
62usenm="n"
63
64# Make the default be no large file support.
65uselargefiles="n"
66
67# Don't use malloc that comes with perl.
68usemymalloc="n"
69
70# Make bison the default compiler-compiler.
71yacc="/system/gnu_library/bin/bison"
72
73# VOS doesn't have (or need) a pager, but perl needs one.
74pager="/system/gnu_library/bin/cat.pm"
75
76# VOS has a bug that causes _exit() to flush all files.
77# This confuses the tests. Make 'em happy here.
78fflushNULL=define
79
80# VOS has a link() function but it is a dummy.
81d_link="undef"
82
83# VOS does not have truncate() but we supply one in vos.c
84d_truncate="define"
85archobjs="vos.o"
86
87# Help gmake find vos.c
88test -h vos.c || ln -s vos/vos.c vos.c
89
90# Tell Configure where to find the hosts file.
91hostcat="cat /system/stcp/hosts"