scsh-users
[Top] [All Lists]

0.4?

To: Olin Shivers <shivers@clark.lcs.mit.edu>
Subject: 0.4?
From: "Jin S. Choi" <jsc@tabitha.atype.com>
Date: Mon, 28 Aug 1995 10:55:40 -0400
Cc: scsh@martigny.ai.mit.edu
Reply-to: jin@atype.com
>>>>> "Olin" == Olin Shivers <shivers@clark.lcs.mit.edu> 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 '.').



<Prev in Thread] Current Thread [Next in Thread>
  • 0.4?, Jin S. Choi
    • 0.4?, Olin Shivers
      • 0.4?, Jin S. Choi <=