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

Revision 14545, 1.5 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# BeOS hints file
2# $Id: beos.sh,v 1.1.1.1 2000-04-07 20:39:41 ghudson Exp $
3
4if [ ! -f beos/nm ]; then mwcc -w all -o beos/nm beos/nm.c 2>/dev/null; fi
5# If this fails, that's all right - it's only for PPC.
6
7prefix="/boot/home/config"
8
9#cpp="mwcc -e"
10
11libpth='/boot/beos/system/lib /boot/home/config/lib'
12usrinc='/boot/develop/headers/posix'
13locinc='/boot/develop/headers/ /boot/home/config/include'
14
15libc='/boot/beos/system/lib/libroot.so'
16libs=' '
17
18d_bcmp='define'
19d_bcopy='define'
20d_bzero='define'
21d_index='define'
22#d_htonl='define' # It exists, but much hackery would be required to support.
23# a bunch of extra includes would have to be added, and it's only used at
24# one place in the non-socket perl code.
25
26#these are all in libdll.a, which my version of nm doesn't know how to parse.
27#if I can get it to both do that, and scan multiple library files, perhaps
28#these can be gotten rid of.
29
30usemymalloc='n'
31# Hopefully, Be's malloc knows better than perl's.
32
33d_link='undef'
34dont_use_nlink='define'
35# no posix (aka hard) links for us!
36
37d_syserrlst='undef'
38# the array syserrlst[] is useless for the most part.
39# large negative numbers really kind of suck in arrays.
40
41d_socket='undef'
42d_gethbyaddr='undef'
43d_gethbyname='undef'
44d_getsbyname='undef'
45
46ld='gcc'
47
48# Sockets really don't work with the current version of perl and the
49# current BeOS sockets; I suspect that a new module a la GSAR's WIN32 port
50# will be required.
51# Of course, this may also change with R5.
52
53export PATH="$PATH:$PWD/beos"
54
55case "$ldlibpthname" in
56'') ldlibpthname=LIBRARY_PATH ;;
57esac
Note: See TracBrowser for help on using the repository browser.