>>>>> "Olin" == Olin Shivers <email@example.com> writes:
Olin> Also, I was wondering if anyone has had success compiling
Olin> it under Linux using ELF.
Olin> Could you educate me a little here, please? We have
Olin> supported scsh on linux, but I gather that the older format
Olin> was a.out, and linux is now shifting to elf? Is this
Olin> correct? If so, we haven't done it. -Olin
Yes, Linux is slowly in the process of moving to ELF. I figured out
what was wrong; I don't remember if I reported it to scsh-bugs or not,
but the problem was that scsh uses dlopen() on itself to search for
external symbols. Under Linux ELF, it's required that an executable be
linked with the -rdynamic flag in order for dlopen() to work.
There were also three prototype conflicts in syscalls.c and
syscalls1.c for truncate(), sync(), and sys_errlist, which I solved
by removing them.
One other thing I just found; ,open on a package doesn't work except
for in the build directory. Looks like the ",translate =scheme48/
$(LIB)/" in the makefile target for scsh.image isn't taking effect,
and so it always looks for library files in srcdir (which in my case
happened to be '.').