1 # $Id: vos.sh,v 1.0 2001-12-11 09:30:00-05 Green Exp $
3 # This is a hints file for Stratus VOS, using the POSIX environment
4 # in VOS 14.4.0 and higher.
6 # VOS POSIX is based on POSIX.1-1996. It ships with gcc as the standard
9 # Paul Green (Paul.Green@stratus.com)
11 # C compiler and default options.
13 ccflags="-D_SVID_SOURCE -D_POSIX_C_SOURCE=199509L"
16 make="/system/gnu_library/bin/gmake"
17 # indented to not put it into config.sh
18 _make="/system/gnu_library/bin/gmake"
24 # No, this is not a typo. The ".pm" really is the native
25 # executable suffix in VOS. Talk about cosmic resonance.
28 # Object library paths.
29 loclibpth="/system/stcp/object_library"
30 loclibpth="$loclibpth /system/stcp/object_library/common"
31 loclibpth="$loclibpth /system/stcp/object_library/net"
32 loclibpth="$loclibpth /system/stcp/object_library/socket"
33 loclibpth="$loclibpth /system/posix_object_library/sysv"
34 loclibpth="$loclibpth /system/posix_object_library"
35 loclibpth="$loclibpth /system/c_object_library"
36 loclibpth="$loclibpth /system/object_library"
39 # Include library paths
40 locincpth="/system/stcp/include_library"
41 locincpth="$locincpth /system/include_library/sysv"
42 usrinc="/system/include_library"
44 # Where to install perl5.
45 prefix=/system/ported/perl5
50 # No shared libraries.
56 # Make the default be no large file support.
59 # Don't use malloc that comes with perl.
62 # Make bison the default compiler-compiler.
63 yacc="/system/gnu_library/bin/bison"
65 # VOS doesn't have (or need) a pager, but perl needs one.
66 pager="/system/gnu_library/bin/cat.pm"
68 # VOS has a bug that causes _exit() to flush all files.
69 # This confuses the tests. Make 'em happy here.
72 # VOS has a link() function but it is a dummy.
75 # VOS does not have truncate() but we supply one in vos.c
79 # Help gmake find vos.c
80 test -h vos.c || ln -s vos/vos.c vos.c
82 # VOS returns a constant 1 for st_nlink when stat'ing a
83 # directory. Therefore, we must set this variable to stop
84 # File::Find using the link count to determine whether there are
85 # subdirectories to be searched.
88 # Tell Configure where to find the hosts file.
89 hostcat="cat /system/stcp/hosts"
91 # VOS does not have socketpair() but we supply one in vos.c