Large-Address awareness on 64 bit systems

Corinna Vinschen corinna-cygwin@cygwin.com
Sun Jun 19 08:19:00 GMT 2011


On Jun 19 10:09, Corinna Vinschen wrote:
> On Jun 19 02:24, Yaakov (Cygwin/X) wrote:
> > Are there any downsides to large address awareness, particularly for
> > 32bit systems or those with less than 4GB?  IOW is there any reason not
> > to switch this on by default in gcc/ld?
> 
> I don't see any problem.  Cygwin does not use the high bit of a pointer
> as a flag for something and hopefully no other DLL or applications does
> that.

Well, there's of course still a chance that an application or the Cygwin
DLL itself uses signed ints or longs to compare addresses or to do
adress arithmetic.  I hope there's no such problem lurking in a dark and
musty corner of the sources...


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