ccflags="$ccflags -D_BSD_TYPES -D_BSD_TIME -Olimit 3000"
#ccflags="$ccflags -Olimit 3000" # this line builds perl but not tk (beta 8)
lddlflags="-32 -shared"
+# Configure would suggest the default -Kpic, which won't work for SGI.
+# Configure will respect this blank hint value instead.
+cccdlflags=' '
# We don't want these libraries. Anyone know why?
set `echo X "$libswanted "|sed -e 's/ socket / /' -e 's/ nsl / /' -e 's/ dl / /'`
'') prefix='/usr' ;;
esac
-# Perl users typically expect BSD style signal handling.
# This may not be needed in 5.002 since sigaction is used.
# gcc-2.6.3 defines _G_HAVE_BOOL to 1, but doesn't actually supply bool.
-ccflags="-D__USE_BSD_SIGNAL -Dbool=char -DHAS_BOOL $ccflags"
+ccflags="-Dbool=char -DHAS_BOOL $ccflags"
+
+# BSD compatability library no longer needed
+set `echo X "$libswanted "| sed -e 's/ bsd / /'`
+shift
+libswanted="$*"
# Configure may fail to find lstat() since it's a static/inline
# function in <sys/stat.h>.
You appear to have ELF support. I'll try to use it for dynamic loading.
EOM
+ nm_so_opt='-dynamic'
else
cat <<'EOM'
d_fork='define'
lddlflags='-Zdll'
ldflags='-Zexe'
- ccflags='-DDOSISH -DNO_SYS_ALLOC -DOS2=2 -DEMBED -I.'
+ ccflags='-DDOSISH -DNO_SYS_ALLOC -DOS2=2 -DEMBED -I. -DPACK_MALLOC'
use_clib='c'
else
d_shrplib='define'
plibext='.lib'
d_fork='undef'
lddlflags='-Zdll -Zomf -Zcrtdll'
- ldflags='-Zexe -Zomf -Zcrtdll'
- ccflags='-Zomf -DDOSISH -DOS2=2 -DEMBED -I.'
+ # Recursive regmatch may eat 2.5M of stack alone.
+ ldflags='-Zexe -Zomf -Zcrtdll -Zstack 32000'
+ ccflags='-Zomf -DDOSISH -DOS2=2 -DEMBED -I. -DPACK_MALLOC'
use_clib='c_import'
fi