https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639
--- Comment #9 from Georg-Johann Lay ---
(In reply to Jonathan Wakely from comment #1)
> since float, double and long double all seem to be the same size on avr
Not necessarily. Since GCC v10, the default for long double is 64 bit (IEEE
double)
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639
--- Comment #8 from Jonathan Wakely ---
Anything that doesn't work on avr should be considered a bug, like any other
target.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639
--- Comment #7 from Jonathan Wakely ---
Not particularly, I just want to be able to bootstrap on avr with
--enable-libstdcxx
It works pretty well already, especially with the -ffreestanding changes in gcc
13.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639
--- Comment #6 from Georg-Johann Lay ---
May I ask, are you working on getting libstdc++ to work for avr?
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639
--- Comment #5 from Jonathan Wakely ---
So then we do need to fix the autoconf macros.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639
--- Comment #4 from Georg-Johann Lay ---
(In reply to Jonathan Wakely from comment #3)
> Which versions of avr-libc are supported with gcc?
The versions are only very loosely coupled. Anything from AVR-LibC v1.8 on (or
maybe even older) should
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639
--- Comment #3 from Jonathan Wakely ---
Ah, good to know, thanks.
Which versions of avr-libc are supported with gcc? The version of avr-libc in
Fedora has the macros, which means I can't build avr-gcc with the patch for pr
79700 applied.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639
--- Comment #2 from Georg-Johann Lay ---
(In reply to Jonathan Wakely from comment #0)
> The in avr-libc does things like this:
>
> extern double acos(double __x) __ATTR_CONST__;
> #define acosf acos/**< The alias for acos().
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111639
Jonathan Wakely changed:
What|Removed |Added
Ever confirmed|0 |1
Blocks|