Hi Ben, > $ gcc -lcrypt -o app main.c > undefined reference to `crypt' > I've tried gcc with and without -lcrypt... any ideas?
Try: $ gcc -o app main.c -lcrypt >From http://cygwin.com/faq/faq_4.html#SEC93 : : gcc processes the files listed on the command line in : sequence and will only resolve references to libraries : if they are given after the file that makes the reference. Regards, Jon Foster -- "The knack of flying is learning how to throw yourself at the ground and miss." - Hitchhiker's Guide to the Galaxy E-mail: [EMAIL PROTECTED] web: http://www.jon-foster.co.uk/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/