More HP-UX/IA64 work
[p5sagit/p5-mst-13.2.git] / hints / vos.sh
CommitLineData
573e07cf 1# $Id: vos.sh,v 1.0 2001-12-11 09:30:00-05 Green Exp $
2
3# This is a hints file for Stratus VOS, using the POSIX environment
4# in VOS 14.4.0 and higher.
5#
6# VOS POSIX is based on POSIX.1-1996. It ships with gcc as the standard
7# compiler.
8#
9# Paul Green (Paul.Green@stratus.com)
10
11# C compiler and default options.
12cc=gcc
36df99d6 13ccflags="-D_SVID_SOURCE -D_POSIX_C_SOURCE=199509L"
573e07cf 14
15# Make command.
16make="/system/gnu_library/bin/gmake"
7b2b351e 17# indented to not put it into config.sh
18 _make="/system/gnu_library/bin/gmake"
573e07cf 19
20# Architecture name
21archname="hppa1.1"
22
b29b993b 23# Executable suffix.
24# No, this is not a typo. The ".pm" really is the native
25# executable suffix in VOS. Talk about cosmic resonance.
26_exe=".pm"
27
573e07cf 28# Object library paths.
29loclibpth="/system/stcp/object_library"
30loclibpth="$loclibpth /system/stcp/object_library/common"
31loclibpth="$loclibpth /system/stcp/object_library/net"
32loclibpth="$loclibpth /system/stcp/object_library/socket"
33loclibpth="$loclibpth /system/posix_object_library/sysv"
34loclibpth="$loclibpth /system/posix_object_library"
35loclibpth="$loclibpth /system/c_object_library"
36loclibpth="$loclibpth /system/object_library"
37glibpth="$loclibpth"
38
39# Include library paths
40locincpth="/system/stcp/include_library"
41locincpth="$locincpth /system/stcp/include_library/arpa"
42locincpth="$locincpth /system/stcp/include_library/net"
43locincpth="$locincpth /system/stcp/include_library/netinet"
44locincpth="$locincpth /system/stcp/include_library/protocols"
868439a2 45locincpth="$locincpth /system/include_library/sysv"
573e07cf 46usrinc="/system/include_library"
47
48# Where to install perl5.
49prefix=/system/ported/perl5
50
51# Linker is gcc.
52ld="gcc"
53
54# No shared libraries.
55so="none"
56
57# Don't use nm.
58usenm="n"
59
60# Make the default be no large file support.
61uselargefiles="n"
62
63# Don't use malloc that comes with perl.
64usemymalloc="n"
65
92d4dc7f 66# Make bison the default compiler-compiler.
67yacc="/system/gnu_library/bin/bison"
68
69# VOS doesn't have (or need) a pager, but perl needs one.
70pager="/system/gnu_library/bin/cat.pm"
868439a2 71
72# VOS has a bug that causes _exit() to flush all files.
73# This confuses the tests. Make 'em happy here.
74fflushNULL=define
cf346138 75
76# VOS has a link() function but it is a dummy.
77d_link="undef"
7b2b351e 78
79# VOS does not have truncate() but we supply one in vos.c
80d_truncate="define"
81archobjs="vos.o"
82
83# Help gmake find vos.c
84test -h vos.c || ln -s vos/vos.c vos.c
1059054d 85
86# VOS returns a constant 1 for st_nlink when stat'ing a
87# directory. Therefore, we must set this variable to stop
88# File::Find using the link count to determine whether there are
89# subdirectories to be searched.
90dont_use_nlink=define
91
92# Tell Configure where to find the hosts file.
93hostcat="cat /system/stcp/hosts"