www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/23/13:53:31

From: tolj AT uni-duesseldorf DOT de (Stipe Tolj)
Subject: Re: -lcrypt
23 Nov 1998 13:53:31 -0800 :
Message-ID: <36594474.3D49580E.cygnus.gnu-win32@uni-duesseldorf.de>
References: <36544E7A DOT A2C997CE AT umr DOT edu>
Mime-Version: 1.0
To: Kevin Light <kml AT umr DOT edu>
Cc: gnu-win32 AT cygnus DOT com

> 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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019