source: trunk/third/perl/hints/mpeix.sh @ 14545

Revision 14545, 2.8 KB checked in by ghudson, 24 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r14544, which included commits to RCS files with non-trunk default branches.
Line 
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#
14osname='mpeix'
15osvers='5.5'  # Isn't there a way to determine this dynamically?
16#
17# Force Configure to use our wrapper mpeix/nm script
18#
19PATH="$PWD/mpeix:$PATH"
20nm="$PWD/mpeix/nm"
21_nm=$nm
22nm_opt='-configperl'
23usenm='true'
24#
25# Various directory locations.
26#
27# Which ones of these does Configure get wrong?
28test -z "$prefix" && prefix='/PERL/PUB'
29archname='PA-RISC1.1'
30bin="$prefix"
31installman1dir="$prefix/man/man1"
32installman3dir="$prefix/man/man3"
33man1dir="$prefix/man/man1"
34man3dir="$prefix/man/man3"
35perlpath="$prefix/PERL"
36scriptdir="$prefix"
37startperl="#!$prefix/perl"
38startsh='#!/bin/sh'
39#
40# Compiling.
41#
42test -z "$cc" && cc='gcc'
43cccdlflags='none'
44ccflags="$ccflags -DMPE -D_POSIX_SOURCE -D_SOCKET_SOURCE -D_POSIX_JOB_CONTROL -DIS_SOCKET_CLIB_ITSELF"
45locincpth="$locincpth /usr/local/include /usr/contrib/include /BIND/PUB/include"
46test -z "$optimize" && optimize="-O2"
47ranlib='/bin/true'
48# Special compiling options for certain source files.
49# But what if you want -g?
50regcomp_cflags='optimize=-O'
51toke_cflags='ccflags="$ccflags -DARG_ZERO_IS_SCRIPT"'
52#
53# Linking.
54#
55lddlflags='-b'
56# What if you want additional libs (e.g. gdbm)?
57# This should remove the unwanted libraries from $libswanted and
58# add on whatever ones are needed instead.
59libs="$libs -lbind -lsyslog -lcurses -lsvipc -lsocket -lm -lc"
60loclibpth="$loclibpth /usr/local/lib /usr/contrib/lib /BIND/PUB/lib /SYSLOG/PUB"
61#
62# External functions and data items.
63#
64# Does Configure *really* get *all* of these wrong?
65#
66d_crypt='define'
67d_difftime='define'
68d_dlerror='undef'
69d_dlopen='undef'
70d_Gconvert='gcvt((x),(n),(b))'
71d_inetaton='undef'
72d_link='undef'
73d_mblen='define'
74d_mbstowcs='define'
75d_mbtowc='define'
76d_memcmp='define'
77d_memcpy='define'
78d_memmove='define'
79d_memset='define'
80d_pwage='undef'
81d_pwcomment='undef'
82d_pwgecos='undef'
83d_pwpasswd='undef'
84d_setpgid='undef'
85d_setsid='undef'
86d_setvbuf='define'
87d_statblks='undef'
88d_strchr='define'
89d_strcoll='define'
90d_strerrm='strerror(e)'
91d_strerror='define'
92d_strtod='define'
93d_strtol='define'
94d_strtoul='define'
95d_strxfrm='define'
96d_syserrlst='define'
97d_time='define'
98d_wcstombs='define'
99d_wctomb='define'
100#
101# Include files.
102#
103i_termios='undef'
104i_time='define'
105i_systime='undef'
106i_systimek='undef'
107timeincl='/usr/include/time.h'
108#
109# Data types.
110#
111timetype='time_t'
Note: See TracBrowser for help on using the repository browser.