On Sat, 2006-02-18 at 15:33 -0500, Tom Grove wrote:
> #include <stdio.h>
> #include <readline/readline.h>
> #include <readline/history.h>
> 
> int main() {
>         char *line;
> 
>         line = readline("Test: ");
> 
>         return 0;
> } 

It compiles and works with "gcc -o readline readline.c -l readline". You
need to tell the loader about the library.
-- 
Mike Jeays
http://ca.geocities.com/[EMAIL PROTECTED]

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to