03-23-2015, 07:53 AM
Assuming it's a conventional Linux underneath compiling gcc is not so much difficult as long, once you've got the right configure flags gcc will compile it'self twice, to protect against miscompiles by the bootstrapping compiler.