gnustep-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Corrupted heap


From: Richard Frith-Macdonald
Subject: Re: Corrupted heap
Date: Thu, 18 Mar 2010 13:19:57 +0000

On 18 Mar 2010, at 12:36, David Chisnall wrote:

> On 18 Mar 2010, at 12:33, Vincent Richomme wrote:
> 
>> Sorry to ask this very stupid question but how do I remove the -O2 flags 
>> and add -Wl,-Map,libgnustep-gui.map to LDFLAGS.
>> I tried to pass it to configure then make with no success, I tried
> 
> GNUstep Make, frustratingly, has no way of removing flags.

Yes and no .... it has the 'file_FILTER_OUT_FLAGS' option to remove flags for 
specific files.

Removing the -O2 flag is usually done simply with 'make debug=yes'

>  You can, however, build like this:
> 
> $ make CFLAGS=-g OBJCFLAGS=-g LDGLAGS=-g-Wl,-Map,libgnustep-gui.map
> 
> This will add these flags to the default ones.

Yes, or you can add the flags in the makefile (eg. with 
ADDITIONAL_LDFLAGS=-g-Wl,-Map,libgnustep-gui.map)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]