From: Jarkko Hietaniemi Date: Fri, 11 May 2001 01:59:06 +0000 (+0000) Subject: A nicely working combination for UTS from Hal Morris. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=85b4d566cfc4cf2b1ecaeebe47e23f42cb8382a1;p=p5sagit%2Fp5-mst-13.2.git A nicely working combination for UTS from Hal Morris. p4raw-id: //depot/perl@10079 --- diff --git a/MANIFEST b/MANIFEST index afcc647..f09c981 100644 --- a/MANIFEST +++ b/MANIFEST @@ -414,6 +414,7 @@ ext/POSIX/hints/next_3.pl Hint for POSIX for named architecture ext/POSIX/hints/openbsd.pl Hint for POSIX for named architecture ext/POSIX/hints/sunos_4.pl Hint for POSIX for named architecture ext/POSIX/hints/svr4.pl Hint for POSIX for named architecture +ext/POSIX/hints/uts.pl Hint for POSIX for named architecture ext/POSIX/typemap POSIX extension interface types ext/PerlIO/Scalar/Makefile.PL PerlIO layer for scalars ext/PerlIO/Scalar/Scalar.pm PerlIO layer for scalars diff --git a/ext/POSIX/hints/uts.pl b/ext/POSIX/hints/uts.pl new file mode 100644 index 0000000..7a18b4a --- /dev/null +++ b/ext/POSIX/hints/uts.pl @@ -0,0 +1,9 @@ +# UTS - Leaving -lm in there results in death of make with the message: +# LD_RUN_PATH="/usr/ccs/lib" ld -G -z text POSIX.o \ +# -o ../../lib/auto/POS IX/POSIX.so -lm +# relocations referenced +# from file(s) +# /usr/ccs/lib/libm.a(acos.o) +# ... + +$self->{LIBS} = ['']; diff --git a/hints/uts.sh b/hints/uts.sh index f774ee4..06a0fda 100644 --- a/hints/uts.sh +++ b/hints/uts.sh @@ -2,17 +2,18 @@ archname='s390' cc='cc' cccdlflags='-pic' ccflags='-Xa -XTSTRINGS=1500000' -d_bincompat3='undef' -d_csh='undef' -d_lstat='define' -d_suidsafe='define' +d_bincompat3='undef' +d_csh='undef' +d_lstat='define' +d_suidsafe='define' dlsrc='dl_dlopen.xs' i_ieeefp='undef' -ld='ld' +ld='ld' lddlflags='-G -z text' libperl='libperl.so' -libpth='/lib /usr/lib /usr/ccs/lib' -libs='-lsocket -lnsl -ldl -lm' -prefix='psf_prefix' -static_ext='none' -useshrplib='define' +libpth='/lib /usr/lib /usr/ccs/lib' +libs='-lsocket -lnsl -ldl -lm' +libswanted='m' +prefix='psf_prefix' +toke_cflags='optimize=""' +useshrplib='define'