[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] moving "-I blah" into source
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] moving "-I blah" into source |
Date: |
Tue, 2 Dec 2008 10:05:13 +0100 |
On Mon, Dec 1, 2008 at 5:22 PM, Tobia Conforto <address@hidden> wrote:
> TongKe Xue wrote:
>>
>> Instead of:
>> "csi -I some_dir -s blah.scm"
>> can I put something in the top of blah.scm so I only have to type:
>> "csi -s blah.scm"
>
> This should work:
>
> (set! ##sys#include-pathnames (cons "/home/tobia/include"
> ##sys#include-pathnames))
>
> It uses a Chicken internal variable, but I don't think there's an
> easier/safer way. Try to use absolute pathnames, I had trouble with
> relative ones.
>
You can also use "load-relative", which might be useful, if you want
to load support files.
cheers,
felix