Am 04/27/2015 um 04:52 PM schrieb Sivanupandi, Pitchumani:
From: Joerg Wunsch [mailto:j...@uriah.heep.sax.de]
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.

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+

Johann


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@nongnu.org
https://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Reply via email to