[Top][All Lists]
[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: |
Weddington, Eric |
Subject: |
RE: [avr-gcc-list] Bug? gcc silently assumes mcu model when linking, creating bad executable |
Date: |
Mon, 21 Apr 2008 12:33:09 -0600 |
> -----Original Message-----
> From: Joerg Wunsch [mailto:address@hidden
> Sent: Monday, April 21, 2008 10:34 AM
> To: address@hidden
> Cc: Weddington, Eric
> Subject: Re: [avr-gcc-list] Bug? gcc silently assumes mcu
> model when linking,creating bad executable
>
> As Weddington, Eric wrote:
>
> > > My guess is all this comes from a time when AVR-GCC was created,
> > > and there were maybe three or four different AVRs only, so it did
> > > make some sense for it to default to one of them (IIRC, it
> > > defaults to the AT90S8515).
>
> > I thought it defaults to an architecture, avr2 to be exact.
>
> As the linker has to default to some crt*.o file, it effectively
> defaults to a particular device. But those days, the differences
> between an architecture and a particular device were probably
> neglicible...
Then a GCC bug report should be filled out and set it to "enhancement"
to give an error if -mmcu is not on the compile and link command line.
- [avr-gcc-list] Bug? gcc silently assumes mcu model when linking, creating bad executable, Colin D Bennett, 2008/04/18
- Re: [avr-gcc-list] Bug? gcc silently assumes mcu model when linking, creating bad executable, Colin D Bennett, 2008/04/18
- Re: [avr-gcc-list] Bug? gcc silently assumes mcu model when linking, creating bad executable, David Brown, 2008/04/19
- Re: [avr-gcc-list] Bug? gcc silently assumes mcu model when linking, creating bad executable, Joerg Wunsch, 2008/04/19
- RE: [avr-gcc-list] Bug? gcc silently assumes mcu model when linking, creating bad executable, Weddington, Eric, 2008/04/21
- Re: [avr-gcc-list] Bug? gcc silently assumes mcu model when linking, creating bad executable, Joerg Wunsch, 2008/04/21
- RE: [avr-gcc-list] Bug? gcc silently assumes mcu model when linking, creating bad executable,
Weddington, Eric <=
- Re: [avr-gcc-list] Bug? gcc silently assumes mcu model when linking, creating bad executable, Dave N6NZ, 2008/04/21
- RE: [avr-gcc-list] Bug? gcc silently assumes mcu model when linking, creating bad executable, Weddington, Eric, 2008/04/21