chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] moving "-I blah" into source


From: Kon Lovett
Subject: Re: [Chicken-users] moving "-I blah" into source
Date: Mon, 1 Dec 2008 10:18:21 -0800


On Dec 1, 2008, at 8:22 AM, Tobia Conforto 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.

See also the '(link-options STRING ...)' declaration.




Tobia


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

Best Wishes,
Kon






reply via email to

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