Status of large address awareness?

Ken Brown kbrown@cornell.edu
Sat Mar 17 10:22:00 GMT 2012


On 3/16/2012 9:15 PM, Ryan Johnson wrote:
> Hi all,
>
> What's the current status of large address awareness for cygwin
> binaries? I know at one point it seemed to be working well -- other than
> an issue with emacs (fixed now?) -- and there was talk of making it the

The emacs problem was fixed last August, as of the release of emacs-23.3-3.

> default. However, this does not seem to be the case yet, based on
> looking at peflags for a couple of binaries.

It's the default for anything built with Cygwin's current gcc:

$ gcc -dumpspecs | grep large-address-aware
   %{mwindows:--subsystem windows}   %{mconsole:--subsystem console} 
%{!mno-cygwin:%{!mno-use-libstdc-wrappers:   --wrap _Znwj   --wrap _Znaj 
   --wrap _ZdlPv   --wrap _ZdaPv   --wrap _ZnwjRKSt9nothrow_t   --wrap 
_ZnajRKSt9nothrow_t   --wrap _ZdlPvRKSt9nothrow_t   --wrap 
_ZdaPvRKSt9nothrow_t }}   %{shared: %{mdll: %eshared and mdll are not 
compatible}}   %{shared: --shared} %{mdll:--dll}   %{static:-Bstatic} 
%{!static:-Bdynamic}   %{shared|mdll: --enable-auto-image-base -e 
%{mno-cygwin:_DllMainCRTStartup@12} 
%{!mno-cygwin:__cygwin_dll_entry@12}} 
%{!mno-cygwin:--dll-search-prefix=cyg     %{!shared: %{!mdll: 
--large-address-aware --tsaware}}}

Binaries built with earlier releases of gcc aren't changed.

Ken


--
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