On 28/06/2011, at 9:26 AM, Rodrigo Rosa wrote: > i tried > ./configure --enable-mantainer-mode --enable-ft2232-libftdi > --host=x86_64-w64-mingw32 CFLAGS=-D__MINGW32__ > > and i got a bit further, now i'm stuck with this: > . > . > . > jim-eventloop.o jim-eventloop.c > jim-eventloop.c:53:21: error: windows.h: No such file or directory > jim-eventloop.c:54:21: error: winsock.h: No such file or directory > jim-eventloop.c: In function ‘JimELAfterCommand’: > jim-eventloop.c:637: warning: implicit declaration of function ‘Sleep’ > make[2]: *** [jim-eventloop.o] Error 1 > . > . > . > > can i solve that with another configure param? > the files are at > /usr/amd64-mingw32msvc/include/ > and at > /usr/i586-mingw32msvc/include/ > > and it does not complain about the Sleep if i change the define at > jim-eventloop.c:55 to: > #define msleep sleep > (instead of #define msleep Sleep) >
If you like, you can try the following two patches. To do this, you will need to first update jimtcl to the master branch. I have compile tested this, but I don't have anything to run it on. -- µWeb: Embedded Web Framework - http://uweb.workware.net.au/ WorkWare Systems Pty Ltd W: www.workware.net.au P: +61 434 921 300 E: [email protected] F: +61 7 3391 6002
0001-Don-t-try-to-store-an-int-into-a-void.patch
Description: Binary data
0002-Fix-support-for-64-bit-mingw.patch
Description: Binary data
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
