[Top][All Lists]

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

Re: [avr-gcc-list] avr-ld on Windows crashes with -relax

From: Preston Wilson
Subject: Re: [avr-gcc-list] avr-ld on Windows crashes with -relax
Date: Tue, 24 Feb 2009 08:09:47 -0500
User-agent: Microsoft-Entourage/

"Ruud Vlaming" wrote:

> On Tuesday 24 February 2009 05:29, Jim Brain wrote:
>> WinAVR 20081205 in use.
>> I have an app that, if I use:
>>     LDFLAGS += -Wl,-O9,-relax
>> avr-ld dies during link.  If I take off -relax, as is well.

Does "as is well" mean that avr-ld also dies with just -Wl,-O9 ?

If the answer to that question is no, then you could be running into this

The linker treats -relax and --relax the same.  --relax is the documented

> I think this is a bug. Try:
>   -Wl,--gc-sections -Wl,--relax
> instead of your options.


reply via email to

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