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

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

RE: [avr-gcc-list] Atmel 2561 support


From: Eric Weddington
Subject: RE: [avr-gcc-list] Atmel 2561 support
Date: Fri, 27 Jul 2007 13:58:45 -0600


> -----Original Message-----
> From:
> address@hidden
> [mailto:address@hidden
> org] On Behalf Of Peter Gregson
> Sent: Friday, July 27, 2007 10:40 AM
> To: address@hidden
> Subject: [avr-gcc-list] Atmel 2561 support
>
> Please help.  I run FC6.   I have been trying to build the
> avr-gcc toolchain
> to support the ATmega2561.  I have had a number of problems.
> 1. some of the patches to binutils-2.17/gas/config/tc-avr.c
> didn't work.  It
> looked like a line alignment problem.
> 2. the first hunk of the patch to
> gcc-4.1.2/gcc/config/avr/avr.c didn't work.
> I don't know why.
> I compiled and installed binutils successfully (I think).
> GCC would not
> compile because it said that my GCC compiler couldn't
> generate executable
> code.  It was working fine before I tried this.
> I performed a test compilation with the previous compiler on
> a program known
> to compile successfully.  I had to add <string.h> which was
> not necessary
> before.  The compile failed with the message:
> /usr/local/bin/ld: unrecognized option '--hash-style=gnu'
> I have never seen this before.
>
> How do I fix it?
> --
> Peter H. Gregson, Ph.D., P.Eng.
> Professor, E&CE
> Dalhousie University
> address@hidden     (902) 494-2175

Get the patches from the WinAVR project's CVS. See the README file that
comes with them. It explains the patch naming convention; some patches won't
be applicable to your system (i.e. MinGW/Windows only). The patch filenames
are prefixed with a number, so they are applied in order in which they are
numbered. Use binutils 2.17 (plus patches) and gcc 4.1.2 (plus patches) and
avr-libc 1.4.6. The patches in WinAVR also include the patches for the
ATmega256x devices.

And get in contact with Colin O'Flynn (CCed). As he is a regular on the
Dalhousie campus, he should be able to help you out in this direction. ;-)

Eric Weddington
Atmel






reply via email to

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