delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2012/03/17/06:22:58

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,SPF_NEUTRAL,TW_NW,T_RP_MATCHES_RCVD
X-Spam-Check-By: sourceware.org
Message-ID: <4F6465E2.3040707@cornell.edu>
Date: Sat, 17 Mar 2012 06:22:26 -0400
From: Ken Brown <kbrown AT cornell DOT edu>
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0.1) Gecko/20120208 Thunderbird/10.0.1
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Status of large address awareness?
References: <4F63E5A7 DOT 5050806 AT cs DOT utoronto DOT ca>
In-Reply-To: <4F63E5A7.5050806@cs.utoronto.ca>
X-PMX-CORNELL-SPAM-CHECKED: Pawpaw
X-Original-Sender: kbrown AT cornell DOT edu - Sat Mar 17 06:22:32 2012
X-PMX-CORNELL-REASON: CU_White_List_Override
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

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 AT 12} 
%{!mno-cygwin:__cygwin_dll_entry AT 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019