Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用一个 stm32,它使用使用 newLib 的GNU Arm Embedded Toolchain 。
我从asn1c添加了一些骨架,并在使用浮点数时遇到了链接器问题。链接器错误说:
undefined reference to `ilogb'
在我看来 newLib 没有实现ilogb(见man ilogb)
ilogb
我如何使用ilogbnewLib 或者我可以调用其他函数?
也许另一种方法是实现您自己的 ilogb 版本,就像在此处完成的那样。