Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-owner AT sourceware DOT cygnus DOT com List-Unsubscribe: List-Archive: List-Help: , Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Mon, 2 Aug 1999 20:44:46 +0100 From: "Gary V. Vaughan" To: Steve McAndrewSmith Cc: cygwin AT sourceware DOT cygnus DOT com Subject: Re: [Q]: Linking against DLLs. Message-ID: <19990802204446.C9936@demon.co.uk> References: <37A5CECC DOT 54A4236C AT finagle DOT org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <37A5CECC.54A4236C@finagle.org>; from Steve McAndrewSmith on Mon, Aug 02, 1999 at 10:01:00AM -0700 X-Operating-System: Linux oranda 2.2.10 On Mon, Aug 02, 1999 at 10:01:00AM -0700, Steve McAndrewSmith wrote: > I would think that this would be a FAQ (and forgive me if it is, and I > just haven't seen it), but how do you link against thrid-party DLLs? > CygWin includes import libraries for most/all of the standard Win32 > libraries, but what would it take to make an import library for any > random DLL? There is some code I use in libtool for that very purpose (adapted from code written by DJ Delorie for the next version of binutils). Incase you have trouble finding it (it is hidden inside the libtool script), and for the benefit of the mail archives, I have extracted a copy and attached. Cheers, Gary. -- ___ _ ___ __ _ email:gary AT oranda DOT demon DOT co DOT uk / __|__ _ _ ___ _| | / / | / /_ _ _ _ __ _| |_ __ _ ___ gary AT gnu DOT org | (_ / _` | '_|// / |/ /| |/ / _` | || / _` | ' \/ _` | _ \ \___\__,_|_|\_, /|___(_)___/\__,_|\_,_\__, |_||_\__,_|//_/ home page: /___/ /___/ pgp-2 public key: http://www.oranda.demon.co.uk http://www.oranda.demon.co.uk/pgp -- Want to unsubscribe from this list? Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com