[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] building readline extension on OSX problem: csc incl
From: |
gian paolo ciceri |
Subject: |
Re: [Chicken-users] building readline extension on OSX problem: csc include directory (-I switch) |
Date: |
Mon, 30 Aug 2004 08:13:38 +0200 |
User-agent: |
Mozilla Thunderbird 0.6 (Macintosh/20040502) |
Felix Winkelmann wrote:
Ed Watkeys wrote:
[snip]
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.
Indeed. That's right. The option-parser for csc is admittedly broken:
everything it doesn't understand is split into one-character options.
So the error message is rather unhelpful. I'm going to fix this,
promised... ;-)
mmh., thanks for the feedback, but the overall result,
even if better than before, it's again quite poor.
when I prepend -C in front of -I
---
dottie:/tmp/readline.egg.dir root# /usr/local/bin/csc -s -O2 -d0
readline.scm -C -I/sw/include -L -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
---
it's right, my libreadline is under /sw/lib, so I try to pass
this directory, too...
---
dottie:/tmp/readline.egg.dir root# /usr/local/bin/csc -s -O2 -d0
readline.scm -C -I/sw/include -L/sw/lib -lreadline -lncurses
csc: invalid option `-/'
---
oh, no - the same error, let's try the same fix
---
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...
Sorry to bother the ML with these newbie issues, but
I'd like to be able to use the chicken ;-)
Regards, and thanks again for your patience.
/gp
--
Gian Paolo Ciceri Via G.Marconi 5 - 22036 ERBA CO ITALY
mobile : ++39 340 7218101
eMail : address@hidden,
: address@hidden
webSite: http://www.suddenthinks.com
ICQ # : 94620118
jabber : address@hidden
- [Chicken-users] building readline extension on OSX problem: csc include directory (-I switch), gian paolo ciceri, 2004/08/29
- Re: [Chicken-users] building readline extension on OSX problem: csc include directory (-I switch), Ed Watkeys, 2004/08/29
- Re: [Chicken-users] building readline extension on OSX problem: csc include directory (-I switch), Felix Winkelmann, 2004/08/30
- Re: [Chicken-users] building readline extension on OSX problem: csc include directory (-I switch),
gian paolo ciceri <=
- Re: [Chicken-users] building readline extension on OSX problem: csc include directory (-I switch), Felix Winkelmann, 2004/08/30
- Re: [Chicken-users] building readline extension on OSX problem: csc include directory (-I switch), Ed Watkeys, 2004/08/30
- [Chicken-users] building readline extension on OSX problem: csc include directory (-I switch), Sven . Hartrumpf, 2004/08/30
- Re: [Chicken-users] building readline extension on OSX problem: csc include directory (-I switch), felix, 2004/08/30
- Re: [Chicken-users] building readline extension on OSX problem: csc include directory (-I switch), Ed Watkeys, 2004/08/30
- Message not available
- Message not available
- SOLVED Re: [Chicken-users] building readline extension on OSX problem: csc include directory (-I switch), gian paolo ciceri, 2004/08/30
- Re: SOLVED Re: [Chicken-users] building readline extension on OSX problem:csc include directory (-I switch), Ed Watkeys, 2004/08/30
- Re: SOLVED Re: [Chicken-users] building readline extension on OSX problem: csc include directory (-I switch), felix, 2004/08/30