scsh-hackers
[Top] [All Lists]

Re: scsh and s48 on the same machine

To: Lionel Elie Mamane <lionel@mamane.lu>
Subject: Re: scsh and s48 on the same machine
From: Michael Sperber <sperber@informatik.uni-tuebingen.de>
Date: Thu, 05 May 2005 18:46:06 +0200
Cc: scheme-48@s48.org, forcer@debian.org, scsh-hackers@scsh.net
List-id: Discussion among the implementors <scsh-hackers.list-id.scsh.net>
OK, I'm confused as to what your goals are.  You can have on of the
following two:

1. Always find scheme48.h at the same location, and thus making it easy
   to find.
2. Distinguish the scheme48.h files for the various versions of Scheme
   48 / scsh.

scsh-config / scheme48-config gives you the possibility to have #2
while easily specifying a default scheme48.h.  Alternatively,
scheme48-config still lets you choose between several different
installations---you just have to say which one you want.

Of course, I wish C's #include mechanism had some kind of versioning
(like shared libraries), but it doesn't.  This makes #include
<scheme48.h> too coarse, and #include <scheme48-1.3.h> impractical.
I'd choose "too coarse" over "impractical."

Having said that, we do try to minimize API incompatibilities and will
note very explicitly when we make changes.  (Unfortunately, I can see
a big round of changes in the FFI API around release 1.5 or so
already.)

-- 
Cheers =8-} Mike
Friede, Völkerverständigung und überhaupt blabla

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