Hello, > I adapted it from this snippet in configure.in: > sparc*-*-*) > if test "x$ac_cv_sizeof_void_p" = "x8"; then > TARGET=SPARC64 > else > TARGET=SPARC > fi > So that if I pass CFLAGS=-m64 it compiles 64-bit amd64 or otherwise > 32-bit x86.
Ah ok, that sounds fine. As long as the patch *also* includes a patch to the README to explicitly state this, I think we are fine. > Unfortunately I've never needed to debug on Unix except in Xcode but > if you or someone else walks me through this I'd be happy to provide > any output. How do I turn it into a G_BREAKPOINT? What tools do I > need to use? Dtrace? gdb? What parameters, prompts etc.? Replace the g_assert in the line with the error with a call to "G_BREKAPOINT". Then run with gdb: gdb mono (gdb) run program.exe wait for breakpoint (gdb) x/20i address Address is whatever address the method is trying to decode, you will have to look that one up on the source. > Andreas > _______________________________________________ > Mono-list maillist - [email protected] > http://lists.ximian.com/mailman/listinfo/mono-list _______________________________________________ Mono-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-list
