Gcc is available for the hcs12 from here:
http://www.gnu-m68hc11.org/m68hc11_download.phpYou can use it in conjunction with your favourite IDE or editor on any platform.
Note that gcc will not compile code for the XGATE, however a cross platform assembler for XGATE is available here:
http://sourceforge.net/projects/hsw12asm/