Porting to 64 bit Cygwin (was Re: Difference in 32/64-bit curl.)
Corinna Vinschen
corinna-cygwin@cygwin.com
Wed Apr 24 21:45:00 GMT 2013
On Apr 24 20:37, Erwin Waterlander wrote:
> Op 24-4-2013 20:30, Corinna Vinschen schreef:
> >On Apr 24 20:25, Erwin Waterlander wrote:
> >>Op 24-4-2013 15:47, Corinna Vinschen schreef:
> >>> Cygwin Windows Cygwin
> >>> Linux x86_64 Linux
> >>> Windows x86_64
> >>> i686
> >>>
> >>>sizeof(int) 4 4 4
> >>>sizeof(long) 4 4 8
> >>>sizeof(size_t) 4 8 8
> >>>sizeof(void*) 4 8 8
> >>And these. Interesting for people handling Unicode (wide) text:
> >>
> >>sizeof(wchar_t) 2 2 2
> >>sizeof(wint_t) 2 2 4
> >No, that's not correct:
> >
> > sizeof(wint_t) 4 4 4
> >
> >This is very important because of WEOF.
> >
>
> We are both incorrect. I tried and got these results.
>
> sizeof(wint_t) will give:
>
> Cygwin i686: 4
> MinGW32 : 2
> MinGW-w64: 2
> Cygwin x86_64: 4
Indeed. I didn't know that. Fortunately we have the 4 byte wint_t ;)
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
More information about the Cygwin
mailing list