Hello, dear ARM community members.
The actual ARM GNU Toolchain (https://developer.arm.com/downloads/-/arm-gnu-toolchain-downloads) contains linux kernel headers for userspace of kernel 4.20.13 (https://developer.arm.com/documentation/109845/13-3-Rel1/?lang=en).
The userspace header files are not very actual since linux 4.20.13 is 6 years old, the actual stable version is 6.11.3. E.g. the userspace API for GPIOs has been changed completely since version 4.20.13.
Due to this, some actual code could not be compiled with actual ARM GNU Toolchain.
I would like to ask:
make install_headers
arm-none-linux-gnueabihf-gcc -I ${LINUX-KERNEL-6.x.y-USERSPACE-HEADERS}/include ...
I need to set compilation of our software for our device at Arm DS-5 Community Edition by Intel/Altera at Windows platform. So, I could hardly use any other solution such as Visual Studio Code with Windows Subsystem for Linux, Cygwin or similar.
Compilation of highly customized OS for our device is done within buildroot running at virtualized Debian.
I would be glad if someone know answer to the questions above. Thank You a lot in advance.
Yours Jan Konečný.
No need to apologize, I am here to help.Thank you for letting me know, I have now moved your question to Compilers and Libraries forum.