This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
usethreads.cbu cut-and-pasto.
[perl5.git] / hints / beos.sh
CommitLineData
c4f23d77
AD
1# BeOS hints file
2# $Id: beos.sh,v 1.1 1998/02/16 03:51:45 dogcow Exp $
3
ea9a7f8e 4if [ ! -f beos/nm ]; then mwcc -w all -o beos/nm beos/nm.c; fi
c4f23d77
AD
5
6prefix="/boot/home/config"
7
8cpp="mwcc -e"
9
10libpth='/boot/beos/system/lib /boot/home/config/lib'
11usrinc='/boot/develop/headers/posix'
12locinc='/boot/develop/headers/ /boot/home/config/include'
13
14libc='/boot/beos/system/lib/libroot.so'
15libs=' '
16
17d_bcmp='define'
18d_bcopy='define'
19d_bzero='define'
20d_index='define'
21#d_htonl='define' # It exists, but much hackery would be required to support.
22# a bunch of extra includes would have to be added, and it's only used at
23# one place in the non-socket perl code.
24
25#these are all in libdll.a, which my version of nm doesn't know how to parse.
26#if I can get it to both do that, and scan multiple library files, perhaps
27#these can be gotten rid of.
28
29usemymalloc='n'
30# Hopefully, Be's malloc knows better than perl's.
31
32d_link='undef'
33dont_use_nlink='define'
34# no posix (aka hard) links for us!
35
36d_syserrlst='undef'
37# the array syserrlst[] is useless for the most part.
38# large negative numbers really kind of suck in arrays.
39
40#d_socket='undef'
41# Sockets really don't work with the current version of perl and the
42# current BeOS sockets; I suspect that a new module a la GSAR's WIN32 port
43# will be required.
44
45export PATH="$PATH:$PWD/beos"