Re: 64 bit longs in gcc?

From: David Schwartz (davids_at_webmaster.com)
Date: 03/29/04


Date: Mon, 29 Mar 2004 10:25:17 -0800


"Tris Orendorff" <triso@remove-me.cogeco.ca> wrote in message
news:Xns94B46F33BFE5FRepublicPicturesLtd@216.221.81.119...

> How can I get 64 bit longs in gcc for Linux x86? I don't want 64 bit
> pointers, either. I am attempting to
> modify Unix Tree under Linux and the code is written with 64 bit longs for
> all the other configurations (VMS,
> AIX, BSD, etc.) Byte counts wrap at 2GB when long is only 32 bits.

#include <stdint.h>

uint64_t foo;
int64_t bar;

    DS



Relevant Pages

  • Re: 64 bit longs in gcc?
    ... > pointers, either. ... I am attempting to modify Unix Tree under Linux and the ... > Reading through the gcc man page, all the other systems with 32 bit ints ...
    (comp.os.linux.development.system)
  • Re: Any uC manufacturers have free c compilers?
    ... run Linux but Renesas's SH family can. ... It gets worse when you have 24 bit pointers, ... How's the m16c support for the various memory models? ... As for Eagle, many of my boards would have exceeded it's free ...
    (comp.arch.embedded)
  • Re: [SLE] [General] Rules for firewall?
    ... > One Linux server with NFS ... except the windows boxes unless you run cgywin ... > The firewall is to be locked down for user login only via ssh. ... > Any pointers on where to start learning? ...
    (SuSE)
  • Re: Pointers to procedures possible in g95?
    ... *through* IVF 8.0 to IVF 9.0. ... with standard F90 pointers). ... would be any different with Linux release. ... qomputing dot demon dot co dot uk ...
    (comp.lang.fortran)
  • Re: Fedora 9 32 or 64 Bit - Which One?
    ... to running a 64bit kernel as it can keep all of physical and virtual ... integers, longs, and pointers all have 32 bits. ... and ASCII chars are still 8 bits (this is true of ILP64, another model, ...
    (Fedora)