public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* 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
* 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

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-04-14 11:52 gcc: turning off large-address awareness 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
2012-06-20 11:19 Daniel Diaz
2012-06-20 14:49 ` Christopher Faylor

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