https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109818
Jonathan Wakely <redi at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |WONTFIX Status|NEW |RESOLVED --- Comment #31 from Jonathan Wakely <redi at gcc dot gnu.org> --- Using openlibm should work now. I'm inclined to close this as WONTFIX, since the problem is in djgpp. I don't think it's worth doing more work here. If there is interest in making <cmath> work better for djgpp then improving djgpp's <math.h> would be the place to start.