This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Porting to 64 bit Cygwin (was Re: Difference in 32/64-bit curl.)
- From: Corinna Vinschen <corinna-cygwin at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Wed, 24 Apr 2013 20:51:59 +0200
- Subject: Re: Porting to 64 bit Cygwin (was Re: Difference in 32/64-bit curl.)
- References: <51766C22 dot 10702 at bahnhof dot se> <51770372 dot 4070408 at t-online dot de> <20130424125930 dot GQ26397 at calimero dot vinschen dot de> <20130424134749 dot GR26397 at calimero dot vinschen dot de> <517823A4 dot 8060001 at xs4all dot nl> <20130424183042 dot GC26397 at calimero dot vinschen dot de> <5178266D dot 20209 at xs4all dot nl>
- Reply-to: cygwin at cygwin dot com
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