[Top][All Lists]

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

Re: [Chicken-hackers] Re: [Chicken-users] Compiling readline.egg on Mac

From: felix winkelmann
Subject: Re: [Chicken-hackers] Re: [Chicken-users] Compiling readline.egg on Mac OS X 10.4.10
Date: Fri, 5 Oct 2007 10:53:16 +0200

On 10/4/07, Zbigniew <address@hidden> wrote:
> A quick note.   I use try-compile to detect which library is installed
> (GNU or non-GNU).  But try-compile does not pass the usual csc flags
> to gcc--in my case on OS X, -I and -L of /usr/local.    These flags
> are required to ensure we reference the same library during a
> try-compile and a regular (run (csc ...)).  In other words, the
> try-compile will fail because it looks in /usr/lib only.
> I worked around this by shelling out to `csc -cflags` and `csc
> -ldflags`, but this is an easily overlooked issue (indeed present in
> the original readline egg) and I wonder if it might be useful to add
> to chicken-setup.

It already did, but the libraries and linker path wasn't properly
passed (should work now, in 2.720).


reply via email to

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