From 8935ee17b2edadcfca0c196679b39cd0ade49541 Mon Sep 17 00:00:00 2001 From: Hal Morris Date: Sat, 2 Jun 2001 02:23:11 -0700 Subject: One fix for strtoul not setting errno Message-Id: <200106021623.JAA06906@cepheus.utsglobal.com> p4raw-id: //depot/perl@10436 --- hints/uts.sh | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'hints') diff --git a/hints/uts.sh b/hints/uts.sh index 06a0fdab78..592bc3e84c 100644 --- a/hints/uts.sh +++ b/hints/uts.sh @@ -1,7 +1,8 @@ archname='s390' +archobjs='uts/strtol_wrap.o' cc='cc' cccdlflags='-pic' -ccflags='-Xa -XTSTRINGS=1500000' +ccflags='-Xa -XTSTRINGS=1500000 -DStrtol=strtol_wrap32 -DStrtoul=strtoul_wrap32' d_bincompat3='undef' d_csh='undef' d_lstat='define' @@ -14,6 +15,17 @@ libperl='libperl.so' libpth='/lib /usr/lib /usr/ccs/lib' libs='-lsocket -lnsl -ldl -lm' libswanted='m' -prefix='psf_prefix' +prefix='/usr/local' toke_cflags='optimize=""' useshrplib='define' + +################################# +# Some less routine stuff: +################################# +cc -g -Xa -c -pic -O uts/strtol_wrap.c -o uts/strtol_wrap.o +# Make POSIX a static extension. +cat <<'EOSH' > config.over +static_ext='POSIX B' +dynamic_ext=`echo " $dynamic_ext " | + sed -e 's/ POSIX / /' -e 's/ B / /'` +EOSH -- cgit v1.2.1