in reply to Re^2: use64bitint in building Perl
in thread use64bitint in building Perl

Yes, it's 32bit system.

When I mentioned FreeBSD defaults, I mean that perl already installed on the system is built with -Duse64bitint. You can check this using

perl -V | grep 64bitint

If you build Perl yourself you should specify this option explicitly. If you build it from ports use PERL_64BITINT makefile option.

Replies are listed 'Best First'.
Re^4: use64bitint in building Perl
by cmac (Monk) on Dec 29, 2008 at 23:29 UTC
    $ perl5.8.7 -V | grep 64bitint use64bitint=undef use64bitall=undef uselongdouble=undef
    Looks like my IHP didn't built their perl in the way that your system's initial perl was built. I have always used a 5.8.8 that I built, but now for 5.8.9 I'm thinking about 64 bit ints and threading for the first time.

    Does anyone know if building perl with 64bitint means that ALL arithmetically-processed integers are stored in 8 bytes, or only those whose value requires more than 32 bits?
      Does anyone know if building perl with 64bitint means that ALL arithmetically-processed integers are stored in 8 bytes

      The IV slot will always be 8 bytes - ie *all* integers will be stored in 8 bytes.

      Cheers,
      Rob
        Since I can't think of any variables in my web site that need > 32 bits, your reply has talked me out of building with use64bitint. Thank you for helping me with this decision.

        cmac