Hints for DC/OSx
Stephen Zander [Mon, 24 Feb 1997 21:24:54 +0000 (13:24 -0800)]
Subject: Re: Perl 5.003_28 is available

Chip Salzenberg wrote:
> This is our sixth (yes, _sixth_) beta candidate.  If I could give one
> piece of advice to any pumpkin holder, it would be:

Better late than never...

With the patch to hints/dcosx below 5.003_28 passes avarything
except test 9 of op/pack.  This seems to be a problem with
0xFFFFFFFF being treated as unsigned while
unpack("I",pack("I",0xFFFFFFFF) is signed.

./perl -e 'print 0xFFFFFFFF, "\n", unpack("I",pack("I",0xFFFFFFFF)),"\n";'
4294967295
-1

I'm assuming that gcvt is doing something strange.  Any suggestions/experiences?

p5p-msgid: <199702242124.NAA03796@wsuse5.mckesson.com>

hints/dcosx.sh

index 3b8a300..36afd3b 100644 (file)
@@ -179,7 +179,7 @@ rm -f core
 # DC/OSx hides certain functions in a libc that looks dynamic but isn't
 # because of this we reinclude -lc when building dynamic extenstions
 libc='/usr/ccs/lib/libc.so'
-cccdlflags='-lc'
+lddlflags='-G -lc'
 
 # DC/OSx gets overenthusiastic with symbol removal when building dynamically
 ccdlflags='-Blargedynsym'