This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
applied new parts of suggested patch
[perl5.git] / hints / mpeix.sh
1 # The MPE/iX linker doesn't complain about unresolved symbols, and so the only
2 # way to test for unresolved symbols in a program is by attempting to run it.
3 # But this is slow, and fraught with problems, so the better solution is to use
4 # nm.
5 #
6 # MPE/iX lacks a fully functional native nm, so we need to use our fake nm
7 # script which will extract the symbol info from the native link editor and
8 # reformat into something nm-like.
9 #
10 # Created for 5.003 by Mark Klein, mklein@dis.com.
11 # Substantially revised for 5.004_01 by Mark Bixby, markb@cccd.edu.
12 # Revised again for 5.004_69 by Mark Bixby, markb@cccd.edu.
13 #
14 osname='mpeix'
15 osvers='5.5'
16 #
17 # Force Configure to use our wrapper mpeix/nm script
18 #
19 PATH="$PWD/mpeix:$PATH"
20 nm="$PWD/mpeix/nm"
21 _nm=$nm
22 nm_opt='-configperl'
23 usenm='true'
24 #
25 # Various directory locations.
26 #
27 prefix='/PERL/PUB'
28 archname='PA-RISC1.1'
29 bin="$prefix"
30 installman1dir="$prefix/man/man1"
31 installman3dir="$prefix/man/man3"
32 man1dir="$prefix/man/man1"
33 man3dir="$prefix/man/man3"
34 perlpath="$prefix/PERL"
35 scriptdir="$prefix"
36 startperl="#!$prefix/perl"
37 startsh='#!/bin/sh'
38 #
39 # Compiling.
40 #
41 cc='gcc'
42 cccdlflags='none'
43 ccflags='-DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_POSIX_JOB_CONTROL -DIS_SOCKET_CLIB_ITSELF'
44 locincpth='/usr/local/include /usr/contrib/include /BIND/PUB/include'
45 optimize='-O2'
46 ranlib='/bin/true'
47 # Special compiling options for certain source files.
48 regcomp_cflags='optimize=-O'
49 toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"'
50 #
51 # Linking.
52 #
53 lddlflags='-b'
54 libs='-lbind -lsyslog -lcurses -lsvipc -lsocket -lm -lc'
55 loclibpth='/usr/local/lib /usr/contrib/lib /BIND/PUB/lib /SYSLOG/PUB'
56 #
57 # External functions and data items.
58 #
59 d_crypt='define'
60 d_difftime='define'
61 d_dlerror='undef'
62 d_dlopen='undef'
63 d_Gconvert='gcvt((x),(n),(b))'
64 d_inetaton='undef'
65 d_link='undef'
66 d_mblen='define'
67 d_mbstowcs='define'
68 d_mbtowc='define'
69 d_memcmp='define'
70 d_memcpy='define'
71 d_memmove='define'
72 d_memset='define'
73 d_pwage='undef'
74 d_pwcomment='undef'
75 d_pwgecos='undef'
76 d_pwpasswd='undef'
77 d_setpgid='undef'
78 d_setsid='undef'
79 d_setvbuf='define'
80 d_statblks='undef'
81 d_strchr='define'
82 d_strcoll='define'
83 d_strerrm='strerror(e)'
84 d_strerror='define'
85 d_strtod='define'
86 d_strtol='define'
87 d_strtoul='define'
88 d_strxfrm='define'
89 d_syserrlst='define'
90 d_time='define'
91 d_wcstombs='define'
92 d_wctomb='define'
93 #
94 # Include files.
95 #
96 i_termios='undef'
97 i_time='define'
98 i_systime='undef'
99 i_systimek='undef'
100 timeincl='/usr/include/time.h'
101 #
102 # Data types.
103 #
104 timetype='time_t'