[Chicken-hackers] [PATCH] Fix dynamic imports of libraries which are missing in statically compiled programs

2018-04-27 Thread Peter Bex
Hi all, While looking into #1437, I noticed another bug: $ cat test.scm (print (eval '(begin (import srfi-1) (assoc 'a '((a . 1)) eq? $ csc -static test.scm $ ./test Error: during expansion of (import ...) - call of non-procedure: #f After applying this patch: $ csc -static test.scm $ ./tes

Re: [Chicken-hackers] [PATCH] Fix dynamic imports of libraries which are missing in statically compiled programs

2018-04-27 Thread felix . winkelmann
> Hi all, > > While looking into #1437, I noticed another bug: > > $ cat test.scm > (print (eval '(begin (import srfi-1) (assoc 'a '((a . 1)) eq? > $ csc -static test.scm > $ ./test > Error: during expansion of (import ...) - call of non-procedure: #f > > After applying this patch: > > $ cs