in reply to Re: length of pack 'J' and Win64/Win32 C data type model, pointer length, DWORD_PTR
in thread length of pack 'J' and Win64/Win32 C data type model, pointer length, DWORD_PTR

Haven't yet come across a Win32 (32-bit) perl built with 64-bit integer support - but yes, with the right hacks applied to the perl source, it should be possible to build such a perl.

Cheers,
Rob
  • Comment on Re^2: length of pack 'J' and Win64/Win32 C data type model, pointer length, DWORD_PTR

Replies are listed 'Best First'.
Re^3: length of pack 'J' and Win64/Win32 C data type model, pointer length, DWORD_PTR
by ikegami (Patriarch) on Nov 07, 2010 at 18:44 UTC

    I'd hardly call a configuration option a hack. (I realise the procedure is different on Windows, but elsewhere it simply involves passing -Duse64bitall to Configure.)

      I'd hardly call a configuration option a hack

      Neither would I. (I chose the word carefully and deliberately.)

      The makefiles that ship with the source don't accommodate the option of building 64-bit integers into a 32-bit perl ... afaik you'd have to do some non-trivial hacking.

      Cheers,
      Rob
        afaik you'd have to do some non-trivial hacking.

        Absolutely. I tried it once.

        We complain about the current 2106 warnings that the "successful build produces, you should see what happens when you try adding a few __int64 #defines/typedefs to the equation. Working what to change is impossible.

        Don't ya just love theoreticians :)


        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority".
        In the absence of evidence, opinion is indistinguishable from prejudice.