Building Slate VM with LCC-Win32 under Windows XP
Paul Dufresne
dufrp at hotmail.com
Sun Aug 1 18:36:56 PDT 2004
I have tried to used the alpha version of July 31, to make Slate.exe
run little.image on Windows XP. To try it, I have tried to generate a
new VM. But I got this:
===
...
Parsing bootstrap/debugger.slate
Parsing bootstrap/file.slate
Parsing bootstrap/print.slate
Parsing bootstrap/mobius/types.slate
Parsing bootstrap/mobius/syntax/syntax.slate
The following condition was signaled:
Undescribed condition
The following restarts are available:
0) Inspect a stack frame
1) Abort evaluation of expression
2) Quit Slate
Debug [0..2]:
===
The computer is an IBM PC 300GL, with XP
with 64 Mb of memory.
The ingredients I used was:
-lcc-win32 version 3.8
-slate downloads/alpha directory made July 31
-slate-current.tar.gz downloaded August 1, at 14h49 (Greenwich -4HRS)
-7-zip (just to decompress slate-current.tar.gz)
Now the details of how I made it:
1. downloaded and installed lcc-win32
1.1 Got to http://www.cs.virginia.edu/~lcc-win32/
1.2 Downloaded lccwin32.exe and manual.exe
1.3 Executed them, keeping default values
2. Generated Slate.exe
2.0 Created a directory c:\sla
2.1 Extracted slate-current.tar.gz in c:\sla with 7-Zip
2.2 Made a directory tmp_slate
2.3 copied vm.c, vm.h from alpha directory to tmp_slate
Copied also little.image, but it was probably not needed
2.4 copied file.h, image.h, env.h, boot.c, file.c from alpha dir
to C:\sla\slate-current\bootstrap\mobius\vm directory
2.5 c:\lcc\bin\lc.exe -ansic -errout=Slate.err *.c -o Slate.exe
2.5.1 Slate.exe was 75696 bytes long
2.6 looked Slate.err, and saw just warnings
3. Used 'Slate.exe little.image' and saved an image after
doing "load: 'bootstrap/mobius/init.slate'."
3.1 Copied Slate.exe from tmp_slate to sla\slate-current
3.2 Copied little.image from alpha directory to sla\slate-current
3.3 Open a command window
3.4 cd \sla\slate-current
3.5 Slate.exe little.image
3.5.1 growing 4701576 bytes
3.6 load: 'bootstrap/mobius/init.slate'.
3.7 SaveImageNamed: 'prebuild.image'.
4. Stop, and loaded back the saved image (was just searching how to
continue), this step is useless
4.1 somehow quitted
4.2 Slate.exe prebuild.image
5. VM generateVM: 'slate'.
6. VM buildImage: 'slate.image' &littleEndian: True.
It is at this point that I got Undescribed condition described at
the beginning of this message.
Now, if I try to Debug:
===
Debug [0..2]:
0
Select a stack frame [0..]: 0
[invokeDebugger]
0: ("ConnectionFailed" resource: ("File" handle: Nil. readStream: Nil.
writeStre
am: Nil. locator: ("AbsoluteLocator" ...).
mode: ("Oddball" ...). traits: ("File" ...)). handlers:
{"Extens
ibleArray"}. exitContinuation: [].
returnContinuation: []. traits: ("ConnectionFailed" traits:
("Traits" ..
.). printName: 'ConnectionFailed'. parent0: ("SeriousCondition" ...)))
1: ("Debugger" restarts: {"ExtensibleArray" ("InspectFrame" ...). ("Abort"
...).
("Quit" ...)}. condition: ("ConnectionFailed" resource: ("File" ...).
handlers: {"ExtensibleArray"}. exitContinuation: [].
returnConti
nuation: []. traits: ("ConnectionFailed" ...)).
traits: ("Debugger" traits: ("Traits" ...). printName: 'Debugger'.
paren
t0: ("Cloneable" ...)))
The following condition was signaled:
Undescribed condition
===
Maybe I'll add a comment about step 2, 2.6 in an other message
--Paul
_________________________________________________________________
Envoyer des courriels créatifs est aussi amusant que den recevoir. Utilisez
de la papeterie, des polices et des couleurs spéciales
http://join.msn.com/?pgmarket=fr-ca&page=features/richmail Commencez dès
maintenant à profiter de tous les avantages de MSN Premium et obtenez les
deux premiers mois GRATUITS*.
More information about the Slate
mailing list