dotgnu-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [DotGNU]Mercury on Portable.NET (not successful)


From: James Michael DuPont
Subject: Re: [DotGNU]Mercury on Portable.NET (not successful)
Date: Thu, 27 Feb 2003 04:41:50 -0800 (PST)

OK, here are my tests :
echo 'ildasm -q $1 > $1.il'  > dump.sh
for i in *.dll; do sh dump.sh $i; done;
for i in *.dll.il; do ildasm $i; done;

First I notice that the c++ dlls are failling :
library__cpp_code.dll: invalid metadata in image
construct__cpp_code.dll
float__cpp_code.dll
exception__cpp_code.dll.il
These are the il from the c++. see test0

But, I dont have the newest version installed,
ILDASM 0.4.9 - Intermediate Language Disassembler

###
Here are the errors, each error has a test case.

int.dll.il:593: duplicate definition for `/_3'  -- duplicate ops test1
int.dll.il:865: duplicate definition for `/_3'  -- duplicate ops test1
integer.dll.il:6616: duplicate definition for `/_3'  -- duplicate ops
test1
mercury.dll.il:380: parse error, unexpected "`auto'", expecting
"identifier" or "single-quoted string" -- missing attribute test2
prolog.dll.il:174: duplicate definition for `==_2_p' -- duplicate ops
test1
prolog.dll.il:186: duplicate definition for `==_2_p'-- duplicate ops
test1

I think that the newer version handles this,
this is the test case created from the microsofts ildasm :
test0
[[
.namespace test
{
  .class AssemblyAttributesGoHereSM {}  
  .class SecurityPermissionAttribute {}
  .class SecurityAction {}
  .custom (AssemblyAttributesGoHereSM )  instance void
SecurityPermissionAttribute::.ctor (valuetype ) = ( 01 00 08 00 00 00
01 00 54 02 10 53 6B 69 70 56 )
} // end of namespace mercury.construct__cpp_code
]]

I'll check this tonite from home on the newest version.

here are some more errors from the il 
The Int.dll  has the same method twice, is this normal
duplicate ops test1
[[
.namespace 'mercury.int'{
.class public auto ansi 'mercury_code' extends
['mscorlib']'System'.'Object'{  .method public static int32 '\/_3'(int32
'HeadVar__1_1', int32 'HeadVar__2_2') cil managed       {       }
        .method public static int32 '/\_3'(int32 'HeadVar__1_1', int32
'HeadVar__2_2') cil managed     {}
        .method public static int32 '/_3'(int32 'X_4', int32 'Y_5') cil
managed {}}
}
]]

Here is another error from 
mercury.dll.il:380: parse error, unexpected "`auto'", expecting
"identifier" or "single-quoted string"
Test2
[[
.export public auto ansi 'mercury.array'.'index_out_of_bounds_0'
{}
]]
just remove auto and ansi to compile.
But that kills ilasm....

more to come
mike


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

__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/


reply via email to

[Prev in Thread] Current Thread [Next in Thread]