scsh-hackers
[Top] [All Lists]

[Scsh-hackers] [ scsh-Bugs-408116 ] building a 64-bit image

To: noreply@sourceforge.net
Subject: [Scsh-hackers] [ scsh-Bugs-408116 ] building a 64-bit image
From: nobody <nobody@sourceforge.net>
Date: Mon, 12 Mar 2001 19:24:18 -0800
List-id: Discussion among the implementors <scsh-hackers.lists.sourceforge.net>
Sender: scsh-hackers-admin@lists.sourceforge.net
Bugs #408116, was updated on 2001-03-12 19:16
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=408116&group_id=10493

Category: scheme-48
Group: None
Status: Open
Priority: 1
Submitted By: Brian D. Carlstrom
Assigned to: Brian D. Carlstrom
Summary: building a 64-bit image

Initial Comment:
as 64 bit machines are about to become much more 
common (as they just aren't alpha's anymore but 
powerpc and intel), saved these old notes about some 
prior attempts.

Maybe these notes aren't relevant to the new Scheme 
48, but this is a place holder to confirm we can work 
on a 64 bit box.

-bri

From: Steven Jenkins <sjenkins@ms.com>
To: scsh@martigny.ai.mit.edu
Subject: building a 64-bit image
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' 
 'buil\
d/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


----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=110493&aid=408116&group_id=10493


<Prev in Thread] Current Thread [Next in Thread>