bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: The Windows 64-bit abomination (was: FYI: portability tweak for Tru6


From: Matthew Woehlke
Subject: Re: The Windows 64-bit abomination (was: FYI: portability tweak for Tru64 V4.0.)
Date: Wed, 25 Oct 2006 18:15:11 -0500
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.7) Gecko/20060909 Thunderbird/1.5.0.7 Mnenhy/0.7.4.0

Paul Eggert wrote:
the ftello
substitute needs to worry about overflow only on hosts where long int
is wider than off_t.  But I don't know of any such hosts and don't
expect that there will ever be any.
Too late, Windows is one.

I assume you're talking about IA-64 Windows.  But as I understand it,
long int is 32 bits on that platform, and off_t is 64 bits, so it's
not a problem.

Nope, x86_x64 Windows. I realize gcc isn't ported there yet, but that's how the VC compilers work. I'd like to hope gcc would Do Things Right when it is ported, but on further thought I suppose it can't since it would break system headers :-(.

Why would you assume IA64? x86_64 *is* after all already a viable target for GNU software (using the MSVC compilers on SUA, at any rate)...

Anyway, as you say, I don't think this is a problem anywhere since even 32-bit Windows has true 64-bit data types (unlike the excitement that is NSK with only signed 64-bit! :-)), even MS just *had* to be different (as always).

--
Matthew
When on POSIX, do as POSIX mandates.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]