"I don't believe there's any reason that an int and a long have to be the same size ... it's just that I didn't expect them to be different"

I've always heard about "C" (and perhaps you have as well) that "the only thing you can be sure is that a long isn't any smaller than a short.  (Which certainly doesn't narrow things down very much!)

However, I would have expected the same, that intsize would have been 8.  So I can fully see why you'd have questions regarding the veracity of the documentation for longsize.

By the way, I didn't mean to mislead you -- I'm not in any way an authority on the Config module.  I did just now look at the source for Config, but as it contained the results of running Configure, the values for the particular architecture were already hardcoded into it.  So I'd be asking the same questions you are.

Here's a thought:  trying downloading the tarball for Config and installing it manually.  Then you can look at the Configure script that comes with it, and make sure it's simply reporting the appropriate thing from the perspective of the "C" compiler.

Update:  I just now saw your response (below) to ambrus's suggestion, where you say you don't have direct access to the machine.  So you probably won't be able to inspect the sourcecode. :-(


s''(q.S:$/9=(T1';s;(..)(..);$..=substr+crypt($1,$2),2,3;eg;print$..$/

In reply to Re^3: Perl and 64-bit compilers by liverpole
in thread Perl and 64-bit compilers by syphilis

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.