chicken-users
[Top][All Lists]
Advanced

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

SOLVED Re: [Chicken-users] building readline extension on OSX problem: c


From: gian paolo ciceri
Subject: SOLVED Re: [Chicken-users] building readline extension on OSX problem: csc include directory (-I switch)
Date: Mon, 30 Aug 2004 16:12:14 +0200
User-agent: Mozilla Thunderbird 0.6 (X11/20040519)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Felix Winkelmann wrote:
| gian paolo ciceri wrote:
|
|> Felix Winkelmann wrote:
|> | gian paolo ciceri wrote:
|>
|> [snip]
|>
|> | (use -L to pass the link path to the linking stage, not the C-compiler)
|> |
|>
|> Thanks Felix,
|> but it was my first option - and it didn't work
|> (see my previous email, please)
|>
|> ---
|> 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 `-/'
|> ---
|
|
| The proper invocation is:
|
| ... -L -L/sw/lib ...
|
|     ^^ pass the next option to the linker
|
|        ^^^^^^^^^ option passed to the linker
|
|

Oh, yes now it's works. Thank you.
But the double "-L" meaning could easily drive crazy a newbie like me.

Regards
/gp


- --
gian paolo ciceri - japanman
suddenthinks, excellence through refactoring
++39 340 7218101
address@hidden
address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFBMzW+5CXmEF0gaHgRAiwDAKDNg/0kAGJmaWtLYA6kyAvh1bksAACgiey8
3v3TrZt9vpE4u5D57+3wFto=
=1j+H
-----END PGP SIGNATURE-----




reply via email to

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