chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] Using headers from MacPorts when compiling


From: Thomas Christian Chust
Subject: Re: [Chicken-users] Using headers from MacPorts when compiling
Date: Fri, 16 Nov 2007 00:33:42 +0100
User-agent: Thunderbird 2.0.0.6 (Macintosh/20070728)

Ozzi wrote:

> Can someone tell me how to tell chicken to use /opt/local/include along
> with /usr/local/include when looking for .h files when compiling eggs.
> [...]

Hello,

chicken-setup accepts the option -c or -csc-option to pass an option to
the CHICKEN compiler driver and csc accepts the options -I and -L to add
include and library directories to the search path of the C compiler it
invokes. Thus running

  chicken-setup -c -I/opt/local/include -c -L/opt/local/lib <some egg>

should work.

cu,
Thomas




reply via email to

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