public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* Re: gcc: turning off large-address awareness
@ 2012-06-20 11:19 Daniel Diaz
  2012-06-20 14:49 ` Christopher Faylor
  0 siblings, 1 reply; 12+ messages in thread
From: Daniel Diaz @ 2012-06-20 11:19 UTC (permalink / raw)
  To: cygwin

Hi Christopher,

have you integrated the --disable option for --large-address-aware in 
binutils ?

Daniel

On Sat, 14 Apr 2012 15:01:03 -0400, Christopher Faylor wrote:
> On Sat, Apr 14, 2012 at 02:48:27PM -0400, Ken Brown wrote:
>>On 4/14/2012 1:33 PM, Christopher Faylor wrote:
>>> You're right that there isn't a way to disable --large-address-aware
>>> but, since it's part of the specs, I'm not sure what would take
>>> precedence if there was a --disable* option.
>>>
>>> You could try using the above to create your own spec file and use
>>> that on the command line for gcc, cumbersome as it is.
>>
>>That works, thanks.  I didn't know about spec files.
>
> I'll try to remember to add a --disable option to my next binutils
> release.
>
> cgf


-- 
Ce message a ete verifie par MailScanner
pour des virus ou des polluriels et rien de
suspect n'a ete trouve.


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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gcc: turning off large-address awareness
  2012-06-20 11:19 gcc: turning off large-address awareness Daniel Diaz
@ 2012-06-20 14:49 ` Christopher Faylor
  0 siblings, 0 replies; 12+ messages in thread
From: Christopher Faylor @ 2012-06-20 14:49 UTC (permalink / raw)
  To: cygwin

On Wed, Jun 20, 2012 at 01:18:54PM +0200, Daniel Diaz wrote:
>Hi Christopher,
>
>have you integrated the --disable option for --large-address-aware in 
>binutils ?

There hasn't been a new release of binutils since that message, no.

cgf

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gcc: turning off large-address awareness
  2012-04-14 19:01         ` Christopher Faylor
@ 2012-05-21  7:35           ` Daniel Diaz
  0 siblings, 0 replies; 12+ messages in thread
From: Daniel Diaz @ 2012-05-21  7:35 UTC (permalink / raw)
  To: cygwin

Christopher Faylor <cgf-use-the-mailinglist-please <at> cygwin.com> writes:

> 
> On Sat, Apr 14, 2012 at 02:48:27PM -0400, Ken Brown wrote:
> >On 4/14/2012 1:33 PM, Christopher Faylor wrote:
> >> You're right that there isn't a way to disable --large-address-aware
> >> but, since it's part of the specs, I'm not sure what would take
> >> precedence if there was a --disable* option.
> >>
> >> You could try using the above to create your own spec file and use
> >> that on the command line for gcc, cumbersome as it is.
> >
> >That works, thanks.  I didn't know about spec files.
> 
> I'll try to remember to add a --disable option to my next binutils
> release.
> 
> cgf
> 
> 


Hi Christopher,

when do you plan to release a version of binutils recognizing a
--disable-large-address-aware flag ?

Daniel



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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gcc: turning off large-address awareness
  2012-04-14 18:48       ` Ken Brown
@ 2012-04-14 19:01         ` Christopher Faylor
  2012-05-21  7:35           ` Daniel Diaz
  0 siblings, 1 reply; 12+ messages in thread
From: Christopher Faylor @ 2012-04-14 19:01 UTC (permalink / raw)
  To: cygwin

On Sat, Apr 14, 2012 at 02:48:27PM -0400, Ken Brown wrote:
>On 4/14/2012 1:33 PM, Christopher Faylor wrote:
>> You're right that there isn't a way to disable --large-address-aware
>> but, since it's part of the specs, I'm not sure what would take
>> precedence if there was a --disable* option.
>>
>> You could try using the above to create your own spec file and use
>> that on the command line for gcc, cumbersome as it is.
>
>That works, thanks.  I didn't know about spec files.

I'll try to remember to add a --disable option to my next binutils
release.

cgf

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gcc: turning off large-address awareness
  2012-04-14 17:53       ` Earnie Boyd
  2012-04-14 18:51         ` Ken Brown
@ 2012-04-14 18:57         ` Christopher Faylor
  1 sibling, 0 replies; 12+ messages in thread
From: Christopher Faylor @ 2012-04-14 18:57 UTC (permalink / raw)
  To: cygwin

On Sat, Apr 14, 2012 at 01:52:46PM -0400, Earnie Boyd wrote:
>On Sat, Apr 14, 2012 at 1:33 PM, Christopher Faylor wrote:
>> On Sat, Apr 14, 2012 at 01:21:25PM -0400, Ken Brown wrote:
>>>On 4/14/2012 12:37 PM, Earnie Boyd wrote:
>>>> On Sat, Apr 14, 2012 at 7:52 AM, Ken Brown wrote:
>>>>> For testing purposes, I'd like to build without large-address awareness.
>>>>> ?? What's the right way to do that? ??I tried
>>>>>
>>>>> ?? ??LDFLAGS=-Wl,--no-large-address-aware
>>>>>
>>>>> and
>>>>>
>>>>> ?? ??LDFLAGS=-Wl,--disable-large-address-aware
>>>>>
>>>>> but both resulted in "unrecognized option" errors from ld.
>>>>
>>>> You specify --large-address-aware if you want it and don't specify if
>>>> you don't want it.
>>>
>>>Sorry, I should have explained more clearly what the issue is. ??Cygwin's
>>>gcc specifies --large-address-aware by default:
>>>
>>>$ gcc -dumpspecs | grep large
>>> ?? %{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}}}
>>>
>>>I'm trying to override this default.
>>
>> You're right that there isn't a way to disable --large-address-aware
>> but, since it's part of the specs, I'm not sure what would take
>> precedence if there was a --disable* option.
>>
>> You could try using the above to create your own spec file and use
>> that on the command line for gcc, cumbersome as it is.
>
>Reading the specs snippet --large-address-aware is only used if
>-shared and -mdll have *not* been specified, i.e. you are building
>with -static specified.  I think this is a bit strange but I don't
>know the reasoning behind it.

That's not what -shared means.

  -shared
       Produce a shared object which can then be linked with other
       objects to form an executable.

  -mdll
       This option is available for Cygwin and MinGW targets.  It
       specifies that a DLL - a dynamic link library - is to be
       generated, enabling the selection of the required runtime startup
       object and entry point.

These should be the default whenever you build an executable.  You can
verify yourself by specifying the -v option to gcc when linking
something.

cgf

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gcc: turning off large-address awareness
  2012-04-14 17:53       ` Earnie Boyd
@ 2012-04-14 18:51         ` Ken Brown
  2012-04-14 18:57         ` Christopher Faylor
  1 sibling, 0 replies; 12+ messages in thread
From: Ken Brown @ 2012-04-14 18:51 UTC (permalink / raw)
  To: cygwin

On 4/14/2012 1:52 PM, Earnie Boyd wrote:
> On Sat, Apr 14, 2012 at 1:33 PM, Christopher Faylor wrote:
>> On Sat, Apr 14, 2012 at 01:21:25PM -0400, Ken Brown wrote:
>>> On 4/14/2012 12:37 PM, Earnie Boyd wrote:
>>>> On Sat, Apr 14, 2012 at 7:52 AM, Ken Brown wrote:
>>>>> For testing purposes, I'd like to build without large-address awareness.
>>>>>    What's the right way to do that?  I tried
>>>>>
>>>>>     LDFLAGS=-Wl,--no-large-address-aware
>>>>>
>>>>> and
>>>>>
>>>>>     LDFLAGS=-Wl,--disable-large-address-aware
>>>>>
>>>>> but both resulted in "unrecognized option" errors from ld.
>>>>
>>>> You specify --large-address-aware if you want it and don't specify if
>>>> you don't want it.
>>>
>>> Sorry, I should have explained more clearly what the issue is.  Cygwin's
>>> gcc specifies --large-address-aware by default:
>>>
>>> $ gcc -dumpspecs | grep large
>>>    %{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}}}
>>>
>>> I'm trying to override this default.
>>
>> You're right that there isn't a way to disable --large-address-aware
>> but, since it's part of the specs, I'm not sure what would take
>> precedence if there was a --disable* option.
>>
>> You could try using the above to create your own spec file and use
>> that on the command line for gcc, cumbersome as it is.
>
> Reading the specs snippet --large-address-aware is only used if
> -shared and -mdll have *not* been specified, i.e. you are building
> with -static specified.

No, you might just be building a .exe.

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gcc: turning off large-address awareness
  2012-04-14 17:34     ` Christopher Faylor
  2012-04-14 17:53       ` Earnie Boyd
@ 2012-04-14 18:48       ` Ken Brown
  2012-04-14 19:01         ` Christopher Faylor
  1 sibling, 1 reply; 12+ messages in thread
From: Ken Brown @ 2012-04-14 18:48 UTC (permalink / raw)
  To: cygwin

On 4/14/2012 1:33 PM, Christopher Faylor wrote:
> On Sat, Apr 14, 2012 at 01:21:25PM -0400, Ken Brown wrote:
>> On 4/14/2012 12:37 PM, Earnie Boyd wrote:
>>> On Sat, Apr 14, 2012 at 7:52 AM, Ken Brown wrote:
>>>> For testing purposes, I'd like to build without large-address awareness.
>>>>    What's the right way to do that?  I tried
>>>>
>>>>     LDFLAGS=-Wl,--no-large-address-aware
>>>>
>>>> and
>>>>
>>>>     LDFLAGS=-Wl,--disable-large-address-aware
>>>>
>>>> but both resulted in "unrecognized option" errors from ld.
>>>
>>> You specify --large-address-aware if you want it and don't specify if
>>> you don't want it.
>>
>> Sorry, I should have explained more clearly what the issue is.  Cygwin's
>> gcc specifies --large-address-aware by default:
>>
>> $ gcc -dumpspecs | grep large
>>    %{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}}}
>>
>> I'm trying to override this default.
>
> You're right that there isn't a way to disable --large-address-aware
> but, since it's part of the specs, I'm not sure what would take
> precedence if there was a --disable* option.
>
> You could try using the above to create your own spec file and use
> that on the command line for gcc, cumbersome as it is.

That works, thanks.  I didn't know about spec files.

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gcc: turning off large-address awareness
  2012-04-14 17:34     ` Christopher Faylor
@ 2012-04-14 17:53       ` Earnie Boyd
  2012-04-14 18:51         ` Ken Brown
  2012-04-14 18:57         ` Christopher Faylor
  2012-04-14 18:48       ` Ken Brown
  1 sibling, 2 replies; 12+ messages in thread
From: Earnie Boyd @ 2012-04-14 17:53 UTC (permalink / raw)
  To: cygwin

On Sat, Apr 14, 2012 at 1:33 PM, Christopher Faylor wrote:
> On Sat, Apr 14, 2012 at 01:21:25PM -0400, Ken Brown wrote:
>>On 4/14/2012 12:37 PM, Earnie Boyd wrote:
>>> On Sat, Apr 14, 2012 at 7:52 AM, Ken Brown wrote:
>>>> For testing purposes, I'd like to build without large-address awareness.
>>>>   What's the right way to do that?  I tried
>>>>
>>>>    LDFLAGS=-Wl,--no-large-address-aware
>>>>
>>>> and
>>>>
>>>>    LDFLAGS=-Wl,--disable-large-address-aware
>>>>
>>>> but both resulted in "unrecognized option" errors from ld.
>>>
>>> You specify --large-address-aware if you want it and don't specify if
>>> you don't want it.
>>
>>Sorry, I should have explained more clearly what the issue is.  Cygwin's
>>gcc specifies --large-address-aware by default:
>>
>>$ gcc -dumpspecs | grep large
>>   %{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}}}
>>
>>I'm trying to override this default.
>
> You're right that there isn't a way to disable --large-address-aware
> but, since it's part of the specs, I'm not sure what would take
> precedence if there was a --disable* option.
>
> You could try using the above to create your own spec file and use
> that on the command line for gcc, cumbersome as it is.

Reading the specs snippet --large-address-aware is only used if
-shared and -mdll have *not* been specified, i.e. you are building
with -static specified.  I think this is a bit strange but I don't
know the reasoning behind it.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gcc: turning off large-address awareness
  2012-04-14 17:21   ` Ken Brown
@ 2012-04-14 17:34     ` Christopher Faylor
  2012-04-14 17:53       ` Earnie Boyd
  2012-04-14 18:48       ` Ken Brown
  0 siblings, 2 replies; 12+ messages in thread
From: Christopher Faylor @ 2012-04-14 17:34 UTC (permalink / raw)
  To: cygwin

On Sat, Apr 14, 2012 at 01:21:25PM -0400, Ken Brown wrote:
>On 4/14/2012 12:37 PM, Earnie Boyd wrote:
>> On Sat, Apr 14, 2012 at 7:52 AM, Ken Brown wrote:
>>> For testing purposes, I'd like to build without large-address awareness.
>>>   What's the right way to do that?  I tried
>>>
>>>    LDFLAGS=-Wl,--no-large-address-aware
>>>
>>> and
>>>
>>>    LDFLAGS=-Wl,--disable-large-address-aware
>>>
>>> but both resulted in "unrecognized option" errors from ld.
>>
>> You specify --large-address-aware if you want it and don't specify if
>> you don't want it.
>
>Sorry, I should have explained more clearly what the issue is.  Cygwin's 
>gcc specifies --large-address-aware by default:
>
>$ gcc -dumpspecs | grep large
>   %{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}}}
>
>I'm trying to override this default.

You're right that there isn't a way to disable --large-address-aware
but, since it's part of the specs, I'm not sure what would take
precedence if there was a --disable* option.

You could try using the above to create your own spec file and use
that on the command line for gcc, cumbersome as it is.

cgf

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gcc: turning off large-address awareness
  2012-04-14 16:37 ` Earnie Boyd
@ 2012-04-14 17:21   ` Ken Brown
  2012-04-14 17:34     ` Christopher Faylor
  0 siblings, 1 reply; 12+ messages in thread
From: Ken Brown @ 2012-04-14 17:21 UTC (permalink / raw)
  To: cygwin

On 4/14/2012 12:37 PM, Earnie Boyd wrote:
> On Sat, Apr 14, 2012 at 7:52 AM, Ken Brown wrote:
>> For testing purposes, I'd like to build without large-address awareness.
>>   What's the right way to do that?  I tried
>>
>>    LDFLAGS=-Wl,--no-large-address-aware
>>
>> and
>>
>>    LDFLAGS=-Wl,--disable-large-address-aware
>>
>> but both resulted in "unrecognized option" errors from ld.
>
> You specify --large-address-aware if you want it and don't specify if
> you don't want it.

Sorry, I should have explained more clearly what the issue is.  Cygwin's 
gcc specifies --large-address-aware by default:

$ gcc -dumpspecs | grep large
   %{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}}}

I'm trying to override this default.

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* Re: gcc: turning off large-address awareness
  2012-04-14 11:52 Ken Brown
@ 2012-04-14 16:37 ` Earnie Boyd
  2012-04-14 17:21   ` Ken Brown
  0 siblings, 1 reply; 12+ messages in thread
From: Earnie Boyd @ 2012-04-14 16:37 UTC (permalink / raw)
  To: cygwin

On Sat, Apr 14, 2012 at 7:52 AM, Ken Brown wrote:
> For testing purposes, I'd like to build without large-address awareness.
>  What's the right way to do that?  I tried
>
>   LDFLAGS=-Wl,--no-large-address-aware
>
> and
>
>   LDFLAGS=-Wl,--disable-large-address-aware
>
> but both resulted in "unrecognized option" errors from ld.

You specify --large-address-aware if you want it and don't specify if
you don't want it.  I see nothing to reverse the option.

-- 
Earnie
-- https://sites.google.com/site/earnieboyd

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

* gcc: turning off large-address awareness
@ 2012-04-14 11:52 Ken Brown
  2012-04-14 16:37 ` Earnie Boyd
  0 siblings, 1 reply; 12+ messages in thread
From: Ken Brown @ 2012-04-14 11:52 UTC (permalink / raw)
  To: cygwin

For testing purposes, I'd like to build without large-address awareness. 
  What's the right way to do that?  I tried

    LDFLAGS=-Wl,--no-large-address-aware

and

    LDFLAGS=-Wl,--disable-large-address-aware

but both resulted in "unrecognized option" errors from ld.

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2012-06-20 14:49 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-20 11:19 gcc: turning off large-address awareness Daniel Diaz
2012-06-20 14:49 ` Christopher Faylor
  -- strict thread matches above, loose matches on Subject: below --
2012-04-14 11:52 Ken Brown
2012-04-14 16:37 ` Earnie Boyd
2012-04-14 17:21   ` Ken Brown
2012-04-14 17:34     ` Christopher Faylor
2012-04-14 17:53       ` Earnie Boyd
2012-04-14 18:51         ` Ken Brown
2012-04-14 18:57         ` Christopher Faylor
2012-04-14 18:48       ` Ken Brown
2012-04-14 19:01         ` Christopher Faylor
2012-05-21  7:35           ` Daniel Diaz

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).