This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: -lcrypt


> How do you get the -lcrypt flag to work.  I have the library and I know
> I can add
> path/libcrypt.a to get it to work.  But what do I need to set to make
> -lcrypt work.

ok, now I know what you are asking for. If you want to use the -lcrypt flag
within the gcc command line you will have to specify an additional library
search path if libcrypt.a is not within the standard library path. This means
you would need to call:

    gcc -o test -L/usr/local/lib -lcrypt test.c

if libcrypt.a is within /usr/local/lib.

Regards,
Stipe


--
Stipe Tolj <tolj@uni-duesseldorf.de>
Cygwin Porting Project
Department of Economical Computer Science
University of Cologne, Germany
http://www-public.rz.uni-duesseldorf.de/~tolj




-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]