Committed. - Cygwin w/CFLAGS=-fno-common. Builds + no crash. - Cygwin plain build. Builds + no crash. - Cygwin w/CFLAGS=-mno-cygwin. Fails for other reasons(include files). - Mac. Builds + no crash. - Linux. Builds + no crash.
Thanks to Edgar Grimberg for debugging & diagnosing the problem! A remark on Jim Tcl: I'm not happy about that it is has all this "clever" stuff w.r.t. DLLs vs. being embedded. Really where Jim Tcl shines is when it is embedded into an application and it should be more straightforward to do so... -- Øyvind Harboe Embedded software and hardware consulting services http://consulting.zylin.com
Index: C:/workspace/openocd/src/helper/jim.h =================================================================== --- C:/workspace/openocd/src/helper/jim.h (revision 1793) +++ C:/workspace/openocd/src/helper/jim.h (working copy) @@ -632,7 +632,7 @@ #define JIM_API( X ) X #else #ifndef __JIM_CORE__ -# if defined JIM_EXTENSION || defined JIM_EMBEDDED +# if defined JIM_EMBEDDED # define JIM_API(x) (*x) # define JIM_STATIC # else
_______________________________________________ Openocd-development mailing list Openocd-development@lists.berlios.de https://lists.berlios.de/mailman/listinfo/openocd-development