Hi

I'm confused about the `require' semantics for compiled and
interpreted code and regarding to CHICKEN_INCLUDE_PATH.  Here's
an example:

$ pwd
/home/mario/tmp/load


$ ls -l
total 4
-rw-r--r-- 1 mario mario  11 Out  5 09:38 a.scm
drwxr-xr-x 2 mario mario 120 Out  5 09:48 subdir


$ cat a.scm 
(print 'a)


$ cd subdir/


$ ls -l
total 4
-rw-r--r-- 1 mario mario 13 Out  5 09:40 b.scm


$ cat b.scm 
(require 'a)


$ CHICKEN_INCLUDE_PATH=/home/mario/tmp/load csi -s b.scm 
a


$ csc b.scm


$ CHICKEN_INCLUDE_PATH=/home/mario/tmp/load ./b
Error: (require) cannot load extension: a

        Call history:

        b.scm:1: require                <--



Why doesn't the compiled code work?

Best wishes.
Mario
-- 
http://parenteses.org/mario

_______________________________________________
Chicken-users mailing list
Chicken-users@nongnu.org
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to