Commit | Line | Data |
---|---|---|
05954a8b PG |
1 | # This is a hints file for Stratus OpenVOS, using the POSIX environment |
2 | # found in VOS 17.1.0 and higher. | |
573e07cf | 3 | # |
05954a8b | 4 | # OpenVOS POSIX is based on POSIX.1-1996 and contains elements of |
3722f0dc | 5 | # POSIX.1-2001. It ships with gcc as the standard compiler. |
573e07cf JH |
6 | # |
7 | # Paul Green (Paul.Green@stratus.com) | |
8 | ||
9 | # C compiler and default options. | |
10 | cc=gcc | |
05954a8b PG |
11 | ccflags="-D_XOPEN_SOURCE=700 -D_VOS_EXTENDED_NAMES" |
12 | ccdlflags="-Wl,-rpath,$shrpdir" | |
13 | cccdlflags="-fPIC" | |
573e07cf JH |
14 | |
15 | # Make command. | |
16 | make="/system/gnu_library/bin/gmake" | |
7b2b351e PG |
17 | # indented to not put it into config.sh |
18 | _make="/system/gnu_library/bin/gmake" | |
573e07cf | 19 | |
05954a8b PG |
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 | |
22 | cat >&4 <<EOF | |
23 | *** | |
24 | *** This version of Perl 5 must be built on OpenVOS Release 17.1.0 or later. | |
25 | *** | |
26 | EOF | |
27 | exit 1 | |
3722f0dc | 28 | fi |
573e07cf | 29 | |
05954a8b PG |
30 | # Always X86 |
31 | archname=`uname -m` | |
32 | ||
b29b993b JH |
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 | ||
573e07cf | 38 | # Object library paths. |
573e07cf JH |
39 | loclibpth="$loclibpth /system/posix_object_library" |
40 | loclibpth="$loclibpth /system/c_object_library" | |
41 | loclibpth="$loclibpth /system/object_library" | |
42 | glibpth="$loclibpth" | |
43 | ||
44 | # Include library paths | |
05954a8b | 45 | locincpth="" |
573e07cf JH |
46 | usrinc="/system/include_library" |
47 | ||
48 | # Where to install perl5. | |
49 | prefix=/system/ported/perl5 | |
50 | ||
51 | # Linker is gcc. | |
52 | ld="gcc" | |
05954a8b PG |
53 | lddlflags="-shared" |
54 | ||
55 | # Shared libraries! | |
56 | so="so" | |
573e07cf | 57 | |
05954a8b PG |
58 | # Build libperl.so |
59 | useshrplib="true" | |
573e07cf | 60 | |
05954a8b | 61 | # Don't use nm. The VOS copy of libc.a is empty. |
573e07cf JH |
62 | usenm="n" |
63 | ||
64 | # Make the default be no large file support. | |
65 | uselargefiles="n" | |
66 | ||
67 | # Don't use malloc that comes with perl. | |
68 | usemymalloc="n" | |
69 | ||
92d4dc7f JH |
70 | # Make bison the default compiler-compiler. |
71 | yacc="/system/gnu_library/bin/bison" | |
72 | ||
73 | # VOS doesn't have (or need) a pager, but perl needs one. | |
74 | pager="/system/gnu_library/bin/cat.pm" | |
868439a2 JH |
75 | |
76 | # VOS has a bug that causes _exit() to flush all files. | |
77 | # This confuses the tests. Make 'em happy here. | |
78 | fflushNULL=define | |
cf346138 PG |
79 | |
80 | # VOS has a link() function but it is a dummy. | |
81 | d_link="undef" | |
7b2b351e PG |
82 | |
83 | # VOS does not have truncate() but we supply one in vos.c | |
84 | d_truncate="define" | |
85 | archobjs="vos.o" | |
86 | ||
87 | # Help gmake find vos.c | |
88 | test -h vos.c || ln -s vos/vos.c vos.c | |
1059054d | 89 | |
1059054d PG |
90 | # Tell Configure where to find the hosts file. |
91 | hostcat="cat /system/stcp/hosts" |