This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
Hints for DC/OSx
authorStephen Zander <srz@loopback>
Mon, 24 Feb 1997 21:24:54 +0000 (13:24 -0800)
committerChip Salzenberg <chip@atlantic.net>
Fri, 21 Feb 1997 14:41:53 +0000 (02:41 +1200)
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'