I installed this and it gives the following error when I try to select it as the toochain.
dave@HUEY:~/ardupilot$ ./waf configure --board=navigator --toolchain=/opt/gcc-arm-10.2-2020.11-x86_64-arm-none-linux-gnueabihf
Setting top to : /home/dave/ardupilot
Setting out to : /home/dave/ardupilot/build
Autoconfiguration : enabled
Checking for program 'python' : /usr/bin/python3
Checking for python version >= 3.6.9 : 3.10.6
Setting board to : navigator
Using toolchain : /opt/gcc-arm-10.2-2020.11-x86_64-arm-none-linux-gnueabihf
Could not find the program ['/opt/gcc-arm-10.2-2020.11-x86_64-arm-none-linux-gnueabihf-ar']
(complete log in /home/dave/ardupilot/build/config.log)
I then get this error when I try to build with ./waf sub
../../libraries/AP_HAL_Linux/Thread.cpp: In member function ‘bool Linux::Thread::set_stack_size(size_t)’:
../../libraries/AP_HAL_Linux/Thread.cpp:248:44: error: ‘PTHREAD_STACK_MIN’ was not declared in this scope
_stack_size = MAX(stack_size, (size_t) PTHREAD_STACK_MIN);