avr-gcc-list
[Top][All Lists]
Advanced

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

Re: [avr-gcc-list] Bug? gcc silently assumes mcu model when linking, cre


From: Colin D Bennett
Subject: Re: [avr-gcc-list] Bug? gcc silently assumes mcu model when linking, creating bad executable
Date: Fri, 18 Apr 2008 13:36:37 -0700

On Fri, 18 Apr 2008 10:23:04 -0700
Colin D Bennett <address@hidden> wrote:

> ...so gcc silently
> assumed that putting the variable at 0x60 is OK.  By adding
> -mmcu=atmega88 to the linker flags, the variable was then placed at
> RAM address 0x100, which then made the code behave properly on the
> target device.

One more piece of information: I tested gcc 4.2.3 as well as gcc trunk
(4.4 dev) and observed the same behavior in both.

Regards,
Colin




reply via email to

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