[Top][All Lists]

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

Re: AW: [DotGNU] compat

From: Gopal V
Subject: Re: AW: [DotGNU] compat
Date: Wed, 15 Jan 2003 23:18:30 +0530
User-agent: Mutt/1.2.5i

I feel like a COMPLETE IDIOT !

The nub of the whole issue was the missing ['mscorlib'] for some of the
calls ...

like this

                call       class 'System'.'String' 
['mscorlib']'System'.'String'::'Concat'(class 'System'.'String', class 

The assembler does not produce any assembly reference for the 
class 'System'.'String' Part ... That's the linker's business ...

So I just did this .... (after replacing the 'stobj int32' with 'stind.i4'
in assembly ... who said ilasm couldn't round-trip !!)

$ ilasm -o Obparse.obj
$ ilalink -o Oberon2 -L . -l Obgen -l System Obparse.obj
$ ./Oberon2
Obscan Release $Date: 2002-12-12 00:42:44+01 $ ($Revision: 1.12 $)
Obgen Release $Date: 2002-12-13 16:42:41+01 $ ($Revision: 1.21 $)
Obparse Release $Date: 2002-12-13 16:42:42+01 $ ($Revision: 1.22 $)
Oberon for .NET: JG, TF, PK, HH, RG, TL
Oberon2 <FileName> [/r:<assembly>] [/cls] [/noasm] [/v] [/dll]

To simplify do,

$ cscc -o Oberon2 -l Obgen -l System

I think we're lacking on a couple of features in the libs for this to be 
actually useful ....

I'm debugging a weird error on ReadLine() for this now... after that I'll
try to implement Process.Start() ... 

PS: if you have kernel hookups (override wine) for pnet inserted with 
    "ilrun --register" you can use stuff without any ".exe" extension.
The difference between insanity and genius is measured by success

reply via email to

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