As Sivanupandi, Pitchumani wrote:

> 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.
> 
> So, we need to change avr-libc to build with all versions of gcc.

Ick. :-((

> > What's the state with respect to compiling that using older compiler
> > versions?

> Lib directories and startup file names are decided in
> bootstrapping. But valid compiler is checked in configure. So, auto
> detection of compiler and configure libs/startups will require
> infrastructure change.

I see.  But at least, if I bootstrap on a certain compiler, then
configure, it will be able to build there, yes?

> Do you have any input on this?

Am I right in the assumption that the main issue is that
./devtools/gen-avr-lib-tree.sh is called only when bootstrapping?  I
guess it might be possible to (re-)do this at configure time.  It
means the script needs to be delivered into the final release tarball,
but that's going to be the least problem.

I would (obviously) much prefer that the library can be built on at
least a few recent/stable versions of GCC (say, 4.8 through 5.1), as
opposed to just a single (matching) version.
-- 
cheers, Joerg               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/
Never trust an operating system you don't have sources for. ;-)

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

Reply via email to