From: Perl 5 Porters Date: Wed, 10 Jul 1996 23:26:09 +0000 (+0000) Subject: Add hints file for NeXT 4.0 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=25b26da3878975e71919c5a0820d769fbae962e5;p=p5sagit%2Fp5-mst-13.2.git Add hints file for NeXT 4.0 --- diff --git a/hints/next_4.sh b/hints/next_4.sh new file mode 100644 index 0000000..0e6b7e0 --- /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 ) +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"'