This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: crypt()
On Wed, Jan 16, 2002 at 11:33:10PM -0000, paul@msunix.co.uk wrote:
> > hiya,
> >
> > ive included #include <crypt.h>
> >
> > and am using crypt() - why can't i compile?
> >
> > gcc -lcrypt file.c -o file
> >
> > unresolved linker error (crypt undefined?)
Off-topic since that's just wrong usage of gcc command line.
Anyway, try `gcc file.c -o file -lcrypt'
Corinna
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:cygwin@cygwin.com
Red Hat, Inc.
--
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/