RFC: Cygwin 64 bit?
Corinna Vinschen
corinna-cygwin@cygwin.com
Thu Jan 19 16:44:00 GMT 2012
On Jan 19 17:30, Kai Tietz wrote:
> 2012/1/19 Corinna Vinschen:
> > On Jan 19 14:48, Kai Tietz wrote:
> >> Well, we might still need an extra-header for this, which defines
> >> types for 'long32_t'. Â As we need for LLP64 still the type 'long'. Â We
> >
> > Oh, ok. Â I guess we should underscore this type so that we don't have
> > collisions, something like _ms_long_t, _ms_ulong_t. Â The ms should make
> > clear that we refer to the definition of long in the MS sense.
> >
> > There's also the chicken-egg problem since we just don't *have* any
> > stdint.h file for 64 bit Cygwin yet. Â Fixable, but still...
>
> Hmm, isn't gcc providing one by default?
Oh, right. The one in /usr/include is so common that I blindly assumed
stdint.h has to be provided by the C library.
> The new header we need can be added to platform-headers and do their
> by some magic if-guards the proper type-defines.
If we use our own specific types (like the above _ms_long_t/_ms_ulong_t)
I think it would be preferrable if the file is part of the Mingw64 headers.
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Project Co-Leader cygwin AT cygwin DOT com
Red Hat
More information about the Cygwin-developers
mailing list