It might be a good idea to build a custom cross compiler toolchain. http://wiki.osdev.org/Why_do_I_need_a_Cross_Compiler