Hi David, Looking further at the jim-eventloop issue, I found that jim.h already had provisions for the modifier to use with jim_wide
#ifdef HAVE_LONG_LONG_INT # if defined(_MSC_VER) || defined(__MSVCRT__) # define JIM_WIDE_MODIFIER "I64d" # else # define JIM_WIDE_MODIFIER "lld" # endif #else # define JIM_WIDE_MODIFIER "ld" #endif It looks like everything was already in there to take care of the 32/64 bit issue. I'm therefore submitting a more satisfying patch that takes advantage of it, by adding a __MINGW32__ check in jim.h as well NB: __MINGW32__ should work on both w32 and w64, as per http://gmplib.org/list-archives/gmp-devel/2009-September/000963.html Regards, >NIL:
patch_jim-eventloop_mingw_w64.diff
Description: Binary data
_______________________________________________ Openocd-development mailing list [email protected] https://lists.berlios.de/mailman/listinfo/openocd-development
