scsh-users
[Top] [All Lists]

building a 64-bit image

To: scsh@martigny.ai.mit.edu
Subject: building a 64-bit image
From: Steven Jenkins <sjenkins@ms.com>
Date: Mon, 24 Mar 1997 11:32:33 -0500
I'm playing around with building a scsh for Alphas, and here is what
I'm doing.  Could someone make a suggestion on why things are breaking
from the initial.image?

My steps:

1) Build scheme48 on Solaris
2) Edit vm/memory.scm to change bytes-per-cell to 8 instead of 4.
   Yes, I know I should make more changes than just this.  However,
   it should at least produce a loadable initial.image
3) make i-know-what-i-am-doing to recreate the *.[ch] files
   # perhaps I should try
   # make i-dont-quite-know-what-im-doing
   # instead..
4) make build/initial.image
5) Tweak things so that I don't encounter the problems Shriram mentioned
   about multi-platform installations..
6) On an Alpha, try 'make'.  However, this does not work -- there
   are compilation warnings, and the vm is apparently runnable, except
   that it croaks on the initial.image with: 

zap /u/sjenkins/scheme48-0.46 141$ make
build/build-usual-image . "`pwd`/scheme" 'scheme48.image' './scheme48vm'  
'build/initial.image'
Incompatible bytes-per-cell in image
Image file "build/initial.image" is unusable.
*** Exit 1
Stop.

Looking through source code, there is apparently a check for the rough
equivalent of a  magic number in an image that is failing (cf vm/heap.scm 
for the error string and misc funs).  

So does anyone who has mucked with scheme48 (Shriram, Olin, Richard, ???) have
any suggestions? 

(Historical note:  I have built a semi-successful scheme48 port using
Digital's mx utility, but I find it much better to actually be able to
build rather than cobble something together).

Steven



<Prev in Thread] Current Thread [Next in Thread>
  • building a 64-bit image, Steven Jenkins <=