chicken-users
[Top][All Lists]
Advanced

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

Re: [Chicken-users] building readline extension on OSX problem: csc incl


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 -lncurses
csc: 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/





reply via email to

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