This is the mail archive of the cygwin mailing list for the Cygwin project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Status of large address awareness?

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.


-- Problem reports: FAQ: Documentation: Unsubscribe info:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]