Re: cmath

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 30 Jul 2024 at 15:31, Sven Bieg via Gcc-help
<gcc-help@xxxxxxxxxxx> wrote:
>
> Thank You! I don't think libm has any dependencies, does it? Why do i get this error-message without trying to link?

Because most of <cmath> can't work without libm, so it's simply
disabled for freestanding.

Compiling something that can't actually be linked or run wouldn't be
very helpful.

But as I said, there's a bug report about it and it should be
addressed so that we don't just fail immediately. Some uses of <cmath>
in freestanding might work in some environments. But it needs work to
support it properly.



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux