This is the mail archive of the guile@cygnus.com mailing list for the guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

lineio, threads, dynamic linking



Hi,

I'm playing with the guile-rgx-ctax package, trying to get it into a
usable state.  In the process, I've turned up some quirks in guile.

* Threads are disabled by default.  Why?  They have never caused me any
grief.

* Dynamic linking is disabled by default.  Why?  It's the most
painless way to add a new C module I can think of...

* Dynamic linking can only dynamically load libfoo.so libraries, not
libtool libfoo.la ones.  Could it at least look in .libs?

* Everything gets compiled twice, once for static libraries, and once
for dynamic libraries.  This takes a *long* time.  Is there any need
(for me) to have static libraries (say, for guile-unexec)?  Could they
use the PIC code (maybe a little slower...) ?

* (ice-9 lineio) doesn't appear to work.  Is anyone using it? Am I
using it wrong?
guile <<EOF
(use-modules (ice-9 lineio))
(read-string (make-line-buffering-input-port (current-input-port)))
EOF
fails with:
ERROR: In expression (ungetc-char-ready? self):
ERROR: Unbound variable: ungetc-char-ready?
ABORT: (misc-error)

Thanks...
Andrew Archibald
aarchiba@undergrad.math.uwaterloo.ca