mono msc compiles with pnet!

James Michael DuPont <mdupont777-/[email protected]> Wed, 29 Dec 2004 13:23:45 -0800 (PST)
Newsgroups gmane.comp.gnu.dotgnu.developer
Message-ID <[email protected]>
I have been able to compile mcs-1.0.4 from the debian apt-src with
cscc.
Have written and applied some patches to pnet to get this to work.

note :
All of this was compiled with cscc, and without any real changes to the
compile lines. That means it will have used the pnetc libs as default!
so even if it built the system from mono, the subsequent ones did not
link against it.

Here are my changes,  all located in this dir :
http://introspector.sourceforge.net/2004/12/?M=D

my total patches against pnet package,
61e862338407a1f2d4fb0c663dc96dc7  pnet/PNET-CVS-HEAD.PATCH

patch against mcs- debian src package -u
4ade85d2316b20afeb7b78fb02162ccb  mcs-1.0.4-pnet.patch-u

patch against mcs- debian src package
65cba7c359e0298eea59179272cb8fdc  mcs-1.0.4-pnet.patch    

The full work dir, with everything it is 22mb
935d9358f163fe4b5afb86fb290cecda  mcs-1.0.4-pnet.tgz


Here are my open bugs for this project :

----------------------------------------------------------------

 #11417 	incompatible types in assignment: no conversion from
`System.String' to `char *'  	Tue 12/28/2004 at 17:13 	None 	mdupont
 #11419 	Bad error message: Enum needs to be derived from ValueType,
IComparable, IConvertible, IFormattable  	Tue 12/28/2004 at 17:39 	None
	mdupont
 #11420 	Circular definitions in attributes not compiling  	Tue
12/28/2004 at 18:04 	None 	mdupont
 #11421 	BOGUS : `override' used on a method with no corresponding
`virtual'  	Tue 12/28/2004 at 18:17 	None 	mdupont
 #11429 	ildasm J# cannot be dumped : undocumented (token type/
metadata feature)  	Wed 12/29/2004 at 09:01 	None 	mdupont
 #11431 	Conversion of a string into a bool, checking if null  	Wed
12/29/2004 at 11:13 	None 	mdupont
 #11432 	Compiler confuses types and fields, but only if there is an
attribute  	Wed 12/29/2004 at 11:46 	None 	mdupont
 #11433 	Using not working with enums across namespaces  	Wed
12/29/2004 at 11:55 	None 	mdupont
 #11435 	CSCC does not skip empty lines in the @file list  	Wed
12/29/2004 at 12:41 	None 	mdupont
 #11443 	ENUM values are not treated as integer constants objects  	Wed
12/29/2004 at 19:39 	None 	mdupont
----------------------------------------------------------------

Here is my plan :
0. Make the changes minimal and more mono friendly :
adding configuration foo like --with-csc=cscc

1. creating test cases for all changes to mcs and reporting them to
mono bug system if they are mono bugs. (Retesting against cvs head)

2. running ilverify on all the dlls and finding the causes for
verification errors.

3. Testing 
3.1 testing mcs that it works 
3.2 testing dlls if they work (have no time or idea how to do this,
hopefully someone can tell me how)

4. Adding in all my test cases from my bug reports into the cscc test
case repository
5. Fixing all the bugs in the cscc

6. Testing interchanging the mono libs with pnet.
I want to be able to mix and match them.

7. write a test case for the need to remove this line :
+++ mcs-1.0.4-pnet/class/Mono.Security/Mono.Security.X509/PKCS12.cs	 
-			HMACSHA1 hmac = (HMACSHA1) HMACSHA1.Create ();

8. write a test case for :
+++ mcs-1.0.4-pnet/class/Accessibility/Accessibility/IAccessible.cs
2004-12-29 19:31:10.000000000 +0000
@@ -41,13 +41,18 @@
-		object get_accRole(object childID);
-		object get_accState(object childID);
+//		object get_accRole(object childID);
+//		object get_accState(object childID);


I look forward to any patches and help.

mike


=====
James Michael DuPont
http://introspector.sourceforge.net/


	
		
__________________________________ 
Do you Yahoo!? 
Yahoo! Mail - You care about security. So do we. 
http://promotions.yahoo.com/new_mail