Download here. Only this directory is being used.
The official tools does not contain library files, such as the standard C library. We need to copy it from Raspberry Pi. Through gcc --print-file-name=libc.so
check the location of the standard C library and copy it to the local computer.
-I./lib/
. After that, you can compile file locally, and run on Raspberry Pi.