Hi, I noticed while compiling a fresh checkout of the associated gnome libraries that the generated code requires UnmanagedFunctionPointer; a 2.0+ feature.
The attached patches alter the compiler to be gmcs. Should I commit these, or is there another problem that is the real culprit (such as not generating UnmanagedFunctionPointer)? -- Christian
Index: configure.in =================================================================== --- configure.in (revision 138462) +++ configure.in (working copy) @@ -22,12 +22,12 @@ AC_MSG_RESULT($from_cvs) AC_PATH_PROG(MONO, mono) -AC_PATH_PROG(MCS, mcs) +AC_PATH_PROG(MCS, gmcs) if test "x$MONO" = "x" ; then AC_MSG_ERROR([Can't find "mono" in your PATH]) fi if test "x$MCS" = "x" ; then - AC_MSG_ERROR([Can't find "mcs" in your PATH]) + AC_MSG_ERROR([Can't find "gmcs" in your PATH]) fi AC_SUBST(PATH) AC_SUBST(LD_LIBRARY_PATH) @@ -54,7 +54,7 @@ if test "x$has_mono" = "xtrue"; then AC_PATH_PROG(RUNTIME, mono, no) -AC_PATH_PROG(CSC, mcs, no) +AC_PATH_PROG(CSC, gmcs, no) if test `uname -s` = "Darwin"; then LIB_PREFIX= LIB_SUFFIX=.dylib Index: gtkmozembed/Makefile.am =================================================================== --- gtkmozembed/Makefile.am (revision 138462) +++ gtkmozembed/Makefile.am (working copy) @@ -1,4 +1,3 @@ -MCS=mcs RAW_API=gtkgecko-api.raw API=gtkgecko-api.xml METADATA=gtkgecko.metadata @@ -38,7 +37,7 @@ cp $(top_srcdir)/gecko-sharp.snk . gecko-sharp.dll: $(build_sources) generated-stamp gecko-sharp.snk - $(MCS) -nowarn:169 -unsafe -target:library $(GTK_SHARP_LIBS) \ + $(CSC) -nowarn:169 -unsafe -target:library $(GTK_SHARP_LIBS) \ $(build_sources) generated/*.cs -out:gecko-sharp.dll install-data-local:
Index: configure.in =================================================================== --- configure.in (revision 138462) +++ configure.in (working copy) @@ -98,7 +98,7 @@ RUNTIME=mono fi -AC_PATH_PROG(CSC, mcs, no) +AC_PATH_PROG(CSC, gmcs, no) if test `uname -s` = "Darwin"; then LIB_PREFIX= LIB_SUFFIX=.dylib
Index: configure.in.in =================================================================== --- configure.in.in (revision 138462) +++ configure.in.in (working copy) @@ -110,7 +110,7 @@ RUNTIME=mono fi -AC_PATH_PROG(CSC, mcs, no) +AC_PATH_PROG(CSC, gmcs, no) if test `uname -s` = "Darwin"; then LIB_PREFIX= LIB_SUFFIX=.dylib
_______________________________________________ Gtk-sharp-list maillist - [email protected] http://lists.ximian.com/mailman/listinfo/gtk-sharp-list
