Mail Archives: cygwin/1998/11/23/13:53:31
> 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 AT uni-duesseldorf DOT 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 AT cygnus DOT com" with one line of text: "help".
- Raw text -