compile by EmuCR