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.
