summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorH.Merijn Brand <h.m.brand@xs4all.nl>2008-10-29 08:18:00 +0000
committerH.Merijn Brand <h.m.brand@xs4all.nl>2008-10-29 08:18:00 +0000
commit4b0b5bad69429e6eb26e3f1181e59a1445822df3 (patch)
tree07ca90a116afe0ef5c01a1a8b5f6226618da1049 /hints
parentdf00ff3beeb297b9622f8acbed9c80d320c87580 (diff)
downloadperl-4b0b5bad69429e6eb26e3f1181e59a1445822df3.tar.gz
Two haiku files to add
p4raw-id: //depot/perl@34631
Diffstat (limited to 'hints')
-rw-r--r--hints/haiku.sh34
1 files changed, 34 insertions, 0 deletions
diff --git a/hints/haiku.sh b/hints/haiku.sh
new file mode 100644
index 0000000000..c9eba8ebd4
--- /dev/null
+++ b/hints/haiku.sh
@@ -0,0 +1,34 @@
+# Haiku hints file
+# $Id$
+
+prefix="/boot/common"
+
+libpth='/boot/home/config/lib /boot/common/lib /system/lib'
+usrinc='/boot/develop/headers/posix'
+locinc='/boot/home/config/include /boot/common/include /boot/develop/headers'
+
+libc='/system/lib/libroot.so'
+libs='-lnetwork'
+
+# Use Haiku's malloc() by default.
+case "$usemymalloc" in
+'') usemymalloc='n' ;;
+esac
+
+# Haiku generally supports hard links, but the default file system (BFS)
+# doesn't. So better avoid using hard links.
+d_link='undef'
+dont_use_nlink='define'
+
+# The array syserrlst[] is useless for the most part.
+# Large negative numbers really kind of suck in arrays.
+d_syserrlst='undef'
+
+# Haiku uses gcc.
+cc="gcc"
+ld='gcc'
+
+# The runtime loader library path variable is LIBRARY_PATH.
+case "$ldlibpthname" in
+'') ldlibpthname=LIBRARY_PATH ;;
+esac