我试图从头开始为avr 8位MCU建立一个完整的工具链。我使用的是binutils的最新源码,即gcc和newlib。我能够为目标avr编译binutils和bootstrap gcc -未知-无。但是在尝试为目标avr-unknown-none配置newlib时,我收到了以下警告。
*** This configuration is not supported in the following subdirectories:
target-newlib target-libgloss
(Any other directories should still work fine.)下面给出了我使用的配置命令。
../configure --prefix=/home/varun/Tools/avr --target=avr-unknown-none --disable-nls --with-gnu-as --with-gnu-ld --disable-newlib-supplied-syscalls在此之后运行make不会做任何事情。
还有另一个目标是avr32-unknown-none,我相信它是针对32位avrs的。在配置时将目标设置为此设置不会产生任何警告。
那么,newlib真的支持8位avr吗?
发布于 2020-12-05 03:44:41
Newlib不起作用,请使用avr-libc
http://savannah.nongnu.org/projects/avr-libc/
https://stackoverflow.com/questions/62304055
复制相似问题