|
From: | Ed Watkeys |
Subject: | Re: [Chicken-users] building readline extension on OSX problem: csc include directory (-I switch) |
Date: | Sun, 29 Aug 2004 18:41:57 -0400 |
On Aug 29, 2004, at 5:51 PM, gian paolo ciceri wrote:
Hi all, in order to build readline extension on OSX I need to specify as additional include directory /sw/include and as additional lib /sw/lib (this is the standard places of my fink-driven sw environment). But when I try the -I switch for csc I take...dottie:/tmp/readline.egg.dir root# /usr/local/bin/csc -s -O2 -d0 -I/sw/include readline.scm -L -lreadline -L -lncursescsc: invalid option `-/'
Try sticking a "-C" in front of the "-I" -- it tells the compiler to pass the next option to the compiler, just like "-L" with the linker options.
Regards, Ed -- Watkeys Consulting: Product Design and Management http://watkeys.com/
[Prev in Thread] | Current Thread | [Next in Thread] |