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: Felix Winkelmann
Subject: Re: [Chicken-users] building readline extension on OSX problem: csc include directory (-I switch)
Date: Mon, 30 Aug 2004 08:47:38 +0200
User-agent: Mozilla Thunderbird 0.5 (X11/20040208)

gian paolo ciceri wrote:
dottie:/tmp/readline.egg.dir root# /usr/local/bin/csc -s -O2 -d0 readline.scm -C -I/sw/include -C -L/sw/lib -lreadline -lncurses
ld: can't locate file for: -lreadline
*** Shell command terminated with exit status 1: gcc -o readline.so readline.o -lchicken -lsrfi-chicken -lstuffed-chicken -fPIC -bundle -L/usr/local/lib -lreadline -lncurses -ldl -lm -ldl
---

Now I need to know how to pass a non-standard link path...

/usr/local/bin/csc -s -O2 -d0 readline.scm -C -I/sw/include -L -L/sw/lib 
-lreadline -lncurses

(use -L to pass the link path to the linking stage, not the C-compiler)


Sorry to bother the ML with these newbie issues, but
I'd like to be able to use the chicken ;-)

Absolutely no bother at all. Thanks to *you* for not giving up! :-)

(And I really have to work on csc's option parser...)


cheers,
felix





reply via email to

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