I installed `aarch64-none-elf-gcc` from gcc-arm-11.2-2022.02-x86_64-aarch64-none-elf.tar.xz, and on my Ubuntu22.04 computer, I try to compile a source code that contain:
#if __has_include(<termios.h>) #include "termios.c" #endif
It found `<termios.h>`, but included it leads to:
<...>/gcc-arm-11.2-2022.02-x86_64-aarch64-none-elf/aarch64-none-elf/include/termios.h:4:10: fatal error: sys/termios.h: No such file or directory 4 | #include <sys/termios.h> | ^~~~~~~~~~~~~~~
What am I doing wrong ?
Notice that I am very new to cross compilation, so I may have missed something...