The sourcecode for gcodetool can be found in the git repository
The following compiled binaries of gcodetool are available:
Static GNU/Linux x86_64, should work on most x86_64 GNU/Linux systems.
Static GNU/Linux x86, should work on most x86 GNU/Linux systems.
Static GNU/Linux ARM, should work on Raspberry Pi, most Android, etc.