Re: 64 bits on HP PA, anyone ?

From: Chris Smith (csmith@stoneboro.uucp.cirr.com)
Date: Thu Feb 24 2000 - 21:11:59 MET

  • Next message: Robert Harley: "Re: 64 bits on HP PA, anyone ?"

       Date: Thu, 24 Feb 2000 18:43:17 +0100
       From: Philippe Deschamp <Philippe.Deschamp@inria.fr>

       Is that the final answer, ``No way'' !? There should be a way to
       compile programs manipulating 64 bits integers, even for a 32 bits
       OS, shouldn't there ?

    Yes.

    The compile flag +DA2.0W (wide mode) makes longs and pointers be 64 bits.
    You can't use that -- the old OS cannot handle 64-bit addresses in system
    calls -- but what's needed is 64-bit longs, not 64-bit pointers.

    There is no compile flag for that. But you can change the typedef of u64
    to be 'long long' and change a bunch of constants and printf formats
    to use LL instead of L. And #include <arpa/inet.h> to get some def
    that was located there back in the days when 10.20 was new.
    Compile with +O3 +e -D_XOPEN_SOURCE_EXTENDED.

    If you just want the resulting binary, you can ftp it from 24.11.22.12.
    (For a few days; I'll delete it eventually).



    This archive was generated by hypermail 2b29 : Thu Feb 24 2000 - 21:40:09 MET