chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Fix #1133


From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] Fix #1133
Date: Sun, 29 Jun 2014 20:36:40 +0200
User-agent: Mutt/1.4.2.3i

On Sun, Jun 29, 2014 at 08:34:24PM +0200, Felix Winkelmann wrote:
> > As far as I understand, if you statically link a program which contains
> > a (use foo) clause, you can link it together with foo.a, and it won't
> > try to load anything dynamically.  Is that correct?
> 
> No, it will try to load "foo.so" dynamically. Some builtin library
> units are treated as a special case.

Ah, now I understand.  That's due to register-feature, right?

Would it be enough to simply always register the library as being
loaded in case of static linking?  That way, we could make (import)
perform the task of (use), and remove all the other forms that so
often confuse beginners.  This will also make using the r7rs egg less
painful.

Cheers,
Peter
-- 
http://www.more-magic.net



reply via email to

[Prev in Thread] Current Thread [Next in Thread]