[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [DotGNU]Portable.NET and ARM
From: |
Gopal V |
Subject: |
Re: [DotGNU]Portable.NET and ARM |
Date: |
Wed, 7 May 2003 21:20:55 +0530 |
User-agent: |
Mutt/1.2.5i |
If memory serves me right, imateos wrote:
> What it isn't still working is the C# compiler.
try cscc -S hello.cs -o hello.il .. which should work (on *ANY* platform)
Since I think your bug is somewhere in ilasm (some bitflip while assembling
stuff) , you should check if the C# compiler (per se) works ...
If you do get a hello.il , move on to the next step ...
ilasm -o hello.exe hello.il
Which should give you a hello.exe (but a badly corrupted one , I suppose).
If it does work with ilrun , move on to the next stage of development...
ilasm -o hello.obj hello.il
ilalink -o hello.exe -lmscorlib hello.obj
The second stage is where you're likely to encounter bugs which say ...
"bad metadata" :-)
The use of -fbuiltin-library to test cscc without mucking about with
mscorlib.dll is possible ... but I wonder if anyone would want just
System.Object , String and Exception ... but it still is a test for
those unfortunates who have no pnetlib ... (actually this is a test
against metadata loading failure of mscorlib.dll)
If all fails , send the files generated bzip2'd to this list or
address@hidden (or at least to our keen eyed hex-detective
Mr Weatherley via Savannah) for further inspection.
Last but not least , copy out all the files generated by ARM stuff and
see if they work in x86 ... it might just work (well , you know , testing
from 360 degrees is not enough, try up & down too...)...
I hope you're able to run stuff off the ARM board ? (ie is the Arm unroller
kicking a...) .. Also gimme a pnetmark as a test...
Gopal
--
The difference between insanity and genius is measured by success