[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
64 bit math on ia32
From: |
Dennis Cartier |
Subject: |
64 bit math on ia32 |
Date: |
27 Jan 2002 22:59:40 -0500 |
Hello,
I am not sure this is a bug with glibc. I am trying to use Large File
Support with Debian Sid. I have compiled my program with the proper
defines. When I try to calculate my index as a gint64 var, it wraps at
32 bits and my file is limited to 4GB.
I would have thought that Gcc would see that I am placing the final
result into a 64 bit type and would substitute in 64bit compatible math.
Is this not the case?
If this will not work, how can I calculate a 64bit offset. I assume LFS
is not limited only to 64bit architectures?
Any help would be appreciated.
Dennis
- 64 bit math on ia32,
Dennis Cartier <=