summaryrefslogtreecommitdiff
path: root/hints
diff options
context:
space:
mode:
authorPerl 5 Porters <perl5-porters@africa.nicoh.com>1996-07-10 23:26:09 +0000
committerCharles Bailey <bailey@genetics.upenn.edu>1996-07-10 23:26:09 +0000
commit25b26da3878975e71919c5a0820d769fbae962e5 (patch)
tree438f2231c261dec417ff68c78db0356f14130e3e /hints
parentea8b512297e09eb3a7fc954de78459466777a344 (diff)
downloadperl-25b26da3878975e71919c5a0820d769fbae962e5.tar.gz
Add hints file for NeXT 4.0
Diffstat (limited to 'hints')
-rw-r--r--hints/next_4.sh55
1 files changed, 55 insertions, 0 deletions
diff --git a/hints/next_4.sh b/hints/next_4.sh
new file mode 100644
index 0000000000..0e6b7e0271
--- /dev/null
+++ b/hints/next_4.sh
@@ -0,0 +1,55 @@
+# Posix support has been removed from NextStep, expect test/POSIX to fail
+#
+# IMPORTANT: before you run 'make', you need to enter one of these two
+# lines (depending on your shell):
+# DYLD_LIBRARY_PATH=`pwd`; export DYLD_LIBRARY_PATH
+# or
+# setenv DYLD_LIBRARY_PATH `pwd`
+#
+useposix='undef'
+
+altmake='gnumake'
+libpth='/lib /usr/lib'
+libswanted=' '
+libc='/NextLibrary/Frameworks/System.framework/System'
+
+isnext_4='define'
+mab='-arch m68k -arch i386 -arch sparc'
+ldflags='-dynamic -prebind'
+lddlflags='-dynamic -bundle -undefined suppress'
+ccflags='-dynamic -fno-common -DUSE_NEXT_CTYPE'
+cccdlflags='none'
+ld='cc'
+optimize='-g -O'
+
+d_shrplib='define'
+dlext='bundle'
+so='dylib'
+
+prefix='/usr/local/OPENSTEP'
+#archlib='/usr/lib/perl5'
+#archlibexp='/usr/lib/perl5'
+archname='OPENSTEP-Mach'
+
+d_strcoll='undef'
+i_dbm='define'
+i_utime='undef'
+groupstype='int'
+direntrytype='struct direct'
+
+# the simple program `for ($i=1;$i<38771;$i++){$t{$i}=123}' fails
+# with Larry's malloc on NS 3.2 due to broken sbrk()
+usemymalloc='n'
+clocktype='int'
+
+#
+# On some NeXT machines, the timestamp put by ranlib is not correct, and
+# this may cause useless recompiles. Fix that by adding a sleep before
+# running ranlib. The '5' is an empirical number that's "long enough."
+# (Thanks to Andreas Koenig <k@franz.ww.tu-berlin.de>)
+ranlib='sleep 5; /bin/ranlib'
+#
+# There where reports that the compiler on HPPA machines
+# fails with the -O flag on pp.c.
+# But since there is no HPPA for OPENSTEP...
+# pp_cflags='optimize="-g"'