[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: AW: [DotGNU] Oberon.net compat
From: |
Gopal V |
Subject: |
Re: AW: [DotGNU] Oberon.net 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
'System'.'String')
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 Oberon.il
$ 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
Homepage: http://www.bluebottle.ethz.ch/oberon.net/
Usage:
Oberon2 <FileName> [/r:<assembly>] [/cls] [/noasm] [/v] [/dll]
---------------------------------------------------
To simplify do,
$ cscc Oberon.il -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() ...
Gopal
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
- [DotGNU](no subject), Patrick Pletscher, 2003/01/12
- Re: [DotGNU] Oberon.net compat, Gopal V, 2003/01/12
- Re: [DotGNU] Oberon.net compat, Rhys Weatherley, 2003/01/13
- AW: [DotGNU] Oberon.net compat, Patrick Pletscher, 2003/01/13
- Re: AW: [DotGNU] Oberon.net compat, Rhys Weatherley, 2003/01/13
- Re: AW: [DotGNU] Oberon.net compat,
Gopal V <=
- Re: AW: [DotGNU] Oberon.net compat, Gopal V, 2003/01/18
- Re: AW: [DotGNU] Oberon.net compat, Gopal V, 2003/01/14
Re: [DotGNU](no subject), Rhys Weatherley, 2003/01/12