[Mono-list] Mono CVS and Solaris

Mark Crichton crichton@gimp.org
Tue, 29 Jul 2003 10:27:40 -0400


--9zSXsLTf0vkW971A
Content-Type: multipart/mixed; boundary="oyUTqETQ0mS9luUI"
Content-Disposition: inline


--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

I just got a note from some Solaris users that 0.25 and CVS won't
compile on Solaris.  The problem stems from the fact that libgc had its
threading model check removed and moved into the toplevel configure.in.

However, the check in the toplevel is wrong.  So, attached is a fix.
It's not quite right, we *really* should put the full threading model
check back in, but it should be good for now.

Mark



--oyUTqETQ0mS9luUI
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename="sol.patch"

Index: configure.in
===================================================================
RCS file: /cvs/public/mono/configure.in,v
retrieving revision 1.153
diff -u -r1.153 configure.in
--- configure.in	23 Jul 2003 19:05:33 -0000	1.153
+++ configure.in	29 Jul 2003 14:34:18 -0000
@@ -77,7 +77,7 @@
 		CPPFLAGS="$CPPFLAGS -DGC_SOLARIS_THREADS -DGC_SOLARIS_PTHREADS -D_REENTRANT"
 		AC_DEFINE(NEED_LINK_UNLINK)
 		libmono_cflags="-D_REENTRANT"
-		libgc_threads=solaris
+		libgc_threads=pthreads
 		;;
 	*-*-darwin*)
 		platform_win32=no

--oyUTqETQ0mS9luUI--

--9zSXsLTf0vkW971A
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (SunOS)

iD8DBQE/JoRcOfj2Ja/u/oARApajAKCpUP6jpsWLo2VFagF6DXfZvqA1mACgxGkr
TCglRXdGFbyru/TR/0F47Ls=
=7rP9
-----END PGP SIGNATURE-----

--9zSXsLTf0vkW971A--