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

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

Re: [avr-gcc-list] current avr-libc's avr-gcc v3.2 requirement...


From: Marek Michalkiewicz
Subject: Re: [avr-gcc-list] current avr-libc's avr-gcc v3.2 requirement...
Date: Sat, 22 Jun 2002 17:04:43 +0200 (CEST)

> Why is it that the most recent downloadable GCC CVS Snapshots report version
> 3.1.1:
> $ avr-gcc --version
> avr-gcc.exe (GCC) 3.1.1 20020617 (prerelease)

Snapshots track the 3.1 branch, probably until 3.1.1 is released...

> The problem is now that Marek has hardcoded version the avr-gcc v3.2
> requirement into avr-libc it is not possible to build the tools without
> patching either CVS GCC or avr-libc.

Sorry for any inconvenience, but 3.2 really is required - it's not just
the version number.  GCC 3.1 uses old ld emulations, and these don't work
with the new avr-libc, resulting in confusing linker error messages.
You could work around that by adding -Wl,-m,avr2 to override the default
which is -m avr85xx, etc. but I haven't really tested this.

> Marek: i know you hard coded the 3.2 requirement to solve the problem of
> building avr-libc with old tools... but the latest CVS GCC Snapshots still
> use the 3.1.1 versioning.

Use CVS to get the current sources directly from the CVS repository
(not as a tarball).  See http://gcc.gnu.org/cvs.html for details.

Hope this helps,
Marek

avr-gcc-list at http://avr1.org



reply via email to

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