I'm working on a stm32f3 dev board, and met an error
/opt/homebrew/Cellar/arm-none-eabi-gcc/13.2.0/lib/gcc/arm-none-eabi/13.2.0/include/stdint.h:9:16: fatal error: stdint.h: No such file or directory
9 | # include_next <stdint.h>
| ^~~~~~~~~~
compilation terminated.
In another question, I found that I need to install "arm-none-eabi-newlib", however, when I typed
brew search arm-none-eabi
I only get
arm-none-eabi-binutils ✔ arm-none-eabi-gcc ✔ arm-none-eabi-gdb ✔
there isn't a "newlib" package is available.
Besides, I can't find any useful information from google.
Do not install it with
brew install arm-none-eabi-xxx
Use
brew install --cask gcc-arm-embedded
to install the whole toolchain.
Uninstall the first installation before use the second one.