Re: 64 bit longs in gcc?
From: David Schwartz (davids_at_webmaster.com)
Date: 03/29/04
- Next message: Larry Zeitman: "Failing ethernet driver/interface"
- Previous message: Rico: "Re: Obtaining the "ps ax" pid from a thread?"
- In reply to: Tris Orendorff: "64 bit longs in gcc?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Next message: Larry Zeitman: "Failing ethernet driver/interface"
- Previous message: Rico: "Re: Obtaining the "ps ax" pid from a thread?"
- In reply to: Tris Orendorff: "64 bit longs in gcc?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|