All, In porting soem code to run under Cygwin, I ran into a problem finding getline(). The following code snippet demonstrates the problem:
#include <stdio.h> int main(int argc, char** argv) { char* a; size_t b; FILE* c; getline(&a, &b, c); return 0; } Creating the above file as gltest.c and and compiling results in the following: $ gcc gltest.c /tmp/ccWTYEwq.o(.text+0x33):gltest.c: undefined reference to `_getline' collect2: ld returned 1 exit status Am I missing something here? getline() is declared in stdio.h, and should be found as part of cygwin1.dll, right? -Samrobb -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/