I have developed a tool called xbash for converting bash to C code. This tool converts bash scripts into real C code, rather than encrypting bash and restoring it to its original source code for the interpreter to execute. This tool is free and you can try it out.