avr-libc-dev
[Top][All Lists]
Advanced

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

Re: [avr-libc-dev] [bug #44869] trunk doesn't work with gcc 5.1.0-RC-201


From: Sivanupandi, Pitchumani
Subject: Re: [avr-libc-dev] [bug #44869] trunk doesn't work with gcc 5.1.0-RC-20150412
Date: Tue, 28 Apr 2015 10:31:04 +0000

> -----Original Message-----
> From: Georg-Johann Lay [mailto:address@hidden
> Sent: Monday, April 27, 2015 10:17 PM
> To: Sivanupandi, Pitchumani; Joerg Wunsch
> Cc: address@hidden; address@hidden
> Subject: Re: [avr-libc-dev] [bug #44869] trunk doesn't work with gcc
> 5.1.0-RC-20150412
> 
> Am 04/27/2015 um 04:52 PM schrieb Sivanupandi, Pitchumani:
> >> From: Joerg Wunsch [mailto:address@hidden
> >>> Yes. If we release from revision r2473 it will work with gcc-5.1,
> >>> not
> >> trunk.
> >>>
> >>> If we release from last revision r2474, it will work with gcc trunk,
> >>> not
> >> gcc-5.1.
> 
> It will also work with 5.1.1 and up.
 
Ok.

> > Following table illustrates the crt file and device library
> > name/layout expected by gcc. AVR-LibC configure is updated to follow
> this layout.
> >
> > Example: atmega1280
> > +----------------+-------------+-------------------------+--------------
> ---+
> > |                | GCC < 5.0.0 | GCC 5.1.0               | Others
> |
> > +----------------+-------------+-------------------------+--------------
> ---+
> > | crt file       | crtm1280.o  | crtm1280.o              |
> crtatmega1280.o |
> > +----------------+-------------+-------------------------+--------------
> ---+
> > | device library |             | dev/atmega1280/libdev.a |
> libatmega1280.a |
> > +----------------+-------------+-------------------------+--------------
> ---+
> 
> avr-gcc 5.1.0 will use dev/atmega1280/crt1.o%s as start file where %s
> means to search in multilib paths.
> 
> For the change see https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65296#c10
> which is also a backport to 5.1.1+

Ohh sorry, my description about GCC-5.1.0 is wrong. Patch is correct.

For GCC-5.1.0, crt and device lib are installed in device directory under
avr/lib/dev. For others, it installs crt file and device library in multilib 
directory under avr/lib/ as mentioned below.

Example: atmega1280, multi-lib directory is avr51
+-------------+-----------------------+-------------------------+
|             | CRT file              | Device library          |
+-------------+-----------------------+-------------------------+
| GCC < 5.0.0 | avr51/crtm1280.o      | -                       |
+-------------+-----------------------+-------------------------+
| GCC 5.1.0   | dev/atmega1280/crt1.o | dev/atmega1280/libdev.a |
+-------------+-----------------------+-------------------------+
| Others      | avr51/crtatmega1280.o | avr51/libatmega1280.a   |
+-------------+-----------------------+-------------------------+

Regards,
Pitchumani

reply via email to

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