mit-scheme-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Apple M1 emulation errors


From: David Gray
Subject: Apple M1 emulation errors
Date: Wed, 13 Oct 2021 16:52:30 +0300

I’m trying to get scmutils running under Rosetta emulation on a M1 apple.
Using arch -x86_64 can get a semi working system for version 11.x.
Edwin fails but scheme.el works OK with emacs. When I try the same
thing with version 10.1.11in order to get scmutils  I get some strange 
behaviour:
(+ 2 2) is OK but if I try anything to do with i/o eg
 (cf “fib.scm”) -> ;Generating SCode for file: "fib.scm" => "fib.bin"...
;The port #[textual-input-port 12 for file: "/Users/dave/space/fib.scm"] 
signalled an error #[condition 13 "system-call-error"]:
The primitive channel-read, while executing the read system call, received the 
error: Bad address. 

Also if I do the same with a relative directory eg:
(cf “~/space/fib”) ;Generating SCode for file: "/home/cph/space/fib.scm" => 
"/home/cph/space/fib.bin"...
;Unable to open file "/home/cph/space/fib.scm" because: No such file or 
directory.

It seems to have a hardwired directory from somebody who’s initials are cph.


  


reply via email to

[Prev in Thread] Current Thread [Next in Thread]