On 11/9/14, 9:45 PM, Ryo Tomidokoro wrote:
> Hi, Chet
>
> Thank you for your reply.
>
> I tried following, and still rl_bind_key does not work.
>
> 1. Remove existing readline (editline) header files from /usr/include.
>
> 2. Change complie option as below
> gcc -I/usr/local/Cellar/readline/6.3.6/include -lreadline sample.c
>
> 3. Check include order with gcc -v option
OK. You might consider taking my suggestion and using the -L option to
tell the linker in which directory homebrew installed the readline library.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU [email protected] http://cnswww.cns.cwru.edu/~chet/
_______________________________________________
Bug-readline mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/bug-readline