[Top][All Lists]

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

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

From: Gerard Marull Paretas
Subject: Re: [avr-gcc-list] Atmel 2561 support
Date: Fri, 27 Jul 2007 18:56:13 +0200

Hello Peter.

I recomment you to apply the patches located at WinAVR CVS page, they're available even for gcc 4.2.0. Be sure that you apply them in the correct order since if not can appear lines mismatch. These patches worked for me under Linux and Mac when I compiled GCC 4.1.2.



On 7/27/07, Peter Gregson <address@hidden> wrote:
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

AVR-GCC-list mailing list

Gerard Marull Paretas <> address@hidden
Flickr Photo Album: http://www.flickr.com/photos/gerard_mp
reply via email to

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