tgmath.h
Ivan Perez <[email protected]> Thu, 21 Apr 2022 20:18:02 -0400
| Newsgroups | gmane.comp.hardware.avr.gcc |
|---|---|
| Message-ID | <CACZKWEJkifE7a71a7wGQhzZJN0-LR9sguSQ65ABdPPG6qVtQWQ@mail.gmail.com> |
--000000000000085e5d05dd332b0d Content-Type: text/plain; charset="UTF-8" Hi, I'm trying to compile a program for arduino that relies on tgmath.h to pick the right version of a function based on the types (the code is automatically generated by another tool). It's failing to compile with avr because tgmath.h is missing. I thought it was part of the standard C distribution since C99 and thus I'd be able to rely on it, but I'm no C expert. Does anyone know why it is not included in avr-libc? Any advice? I'm on Ubuntu 20.04, using: avr-libc 2.0.0+Atmel3.6.2-1.1 gcc-avr 5.4.0+Atmel3.6.2-1 binutils-avr 2.26.20160125+Atmel-3.6.2-2 Thanks, Ivan --000000000000085e5d05dd332b0d Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div>Hi,</div><div><br></div><div>I'm trying to compil= e a program for arduino that relies on tgmath.h to pick the right version o= f a function based on the types (the code is automatically generated by ano= ther tool).<br></div><div><br></div><div>It's failing to compile with a= vr because tgmath.h is missing.<br></div><div><br></div><div>I thought it w= as part of the standard C distribution since C99 and thus I'd be able t= o rely on it, but I'm no C expert. Does anyone know why it is not inclu= ded in avr-libc? Any advice?<br></div><div></div><div><br></div><div>I'= m on Ubuntu 20.04, using:</div><div>avr-libc 2.0.0+Atmel3.6.2-1.1</div><div= >gcc-avr 5.4.0+Atmel3.6.2-1</div><div>binutils-avr 2.26.20160125+Atmel-3.6.= 2-2</div><div><br></div><div>Thanks,</div><div><br></div><div>Ivan<br></div= ></div> --000000000000085e5d05dd332b0d--