On Wed, Jul 20, 2011 at 12:55 PM, Xiaofan Chen <xiaof...@gmail.com> wrote: > On Wed, Jul 20, 2011 at 7:49 AM, Daniel Beer <dlb...@gmail.com> wrote: >> If your device is one that needs to be accessed via USB (no tty >> support), then you might have more luck using MinGW and libusb-win32: >> >> http://sourceforge.net/apps/trac/libusb-win32/wiki >> >> Although I haven't actually tried this... > > Cygwin should work with libusb-win32 as well. > > If MinGW is to be used, there are a bit of changes needed. >
I think it is possible to fix mspdebug for MinGW and that is probably worth the time to fix. 1) termios.h missing: either replace it or with gnulib. 2) elf.h: replace it? 3) regex.h: this can be fixed with MinGW 4) socket: sys/socket.h can be replaced by WinSock. gdbc.c: #include <stdlib.h> #include <string.h> #include <errno.h> #include <sys/types.h> #include <unistd.h> #ifdef WIN32 #include <winsock.h> #else #include <sys/socket.h> #include <netinet/in.h> #include <arpa/inet.h> #include <netdb.h> #endif 5) sys/ioctl.h: ? -- Xiaofan ------------------------------------------------------------------------------ 5 Ways to Improve & Secure Unified Communications Unified Communications promises greater efficiencies for business. UC can improve internal communications as well as offer faster, more efficient ways to interact with customers and streamline customer service. Learn more! http://www.accelacomm.com/jaw/sfnl/114/51426253/ _______________________________________________ Mspgcc-users mailing list Mspgcc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mspgcc-users