I find out a simple way to change compiler.h so that I do not need to change xwisp2.h file. I also find out that there is a typo in the makefile xwisp2_gu.mak. Regards, Xiaofan 1) change compiler.h, add Win32/MinGW GCC configuration #elif defined(__GNUC__) && defined(__WIN32__) // GCC + WIN32 #define compiler_name "GCC" #define compiler_version (__GNUC__) #define compiler_minor (__GNUC_MINOR__) #define max(x,y) ((x > y) ? (x) : (y)) // missing .. #define min(x,y) ((x < y) ? (x) : (y)) // .. functions #define __W32__ #define strnicmp strncasecmp // alias #define stricmp strcasecmp // alias 2) copy xwisp2_gu.mak to xwisp2gw.mak Change the target to xwisp2w.exe and xwlistw.exe and correct the typo in line 15 (should be xwisp2cfg.o) 3) make and run Test@PCAMD64 ~/xwisp2 $ xwisp2w read test252.hex xwisp2 version 1.8.01 for Windows (Oct 25 2005, GCC 3.4) Programmer Wisp628, firmware version 1.10 Detected target: 18F252 revision 04 (ID=0404) Reading target Reading program memory........OK! Reading ID memory.............OK! Reading data memory...........OK! Reading fuses memory..........OK! Read terminated successfully in 26.64 seconds Memory contents stored in hex file test252.hex xwisp2 terminated successfully in 26.94 seconds -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist