This is the mail archive of the
mailing list for the Cygwin project.
On Wed, Jan 16, 2002 at 11:33:10PM -0000, firstname.lastname@example.org 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 Vinschen Please, send mails regarding Cygwin to
Cygwin Developer mailto:email@example.com
Red Hat, Inc.
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html