Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Authentication-Warning: eenie0.geg.mot.com: fell owned process doing -bs
Date: Mon, 6 May 2002 10:06:08 -0700 (MST)
From: Scott Fell 1-0546 <fell@godzilla3.geg.mot.com>
Reply-To: Scott Fell <fell@godzilla3.geg.mot.com>
To: cygwin@cygwin.com
Subject: How to create LIB from DLL
In-Reply-To: <1020703867.17457.ezmlm@cygwin.com>
Message-ID: <Pine.SOL.4.05.10205061001520.27462-100000@eenie0.geg.mot.com>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII

THE SETUP:
I'm new to Visual Studio (please don't hate me for using MS products), so
I could be doing something fundamentally wrong (I've done c++ on unix for 
4ish years, and I just transitioned over to PC-land)... 

I have cygwin1.dll, nothing else.

THE PROBLEM:
I want to link some code in VSC++ to the cygwin1.dll file, but I don't
have an improt library (cygwin1.lib) file to go with it.  As I understand
it, I *MUST* have the lib to make the link work.

WHAT I'VE TRIED:
I tried doing an 'nm cygwin1.dll....' command w/sed & all that, BUT it
seemed to respond as though cygwin1.dll had been stripped.

WHAT I'M PONDERING:
SO: I am left wondering: Is there a DEF and a LIB out there for
cygwin1.dll?  If not, how do I generate them myself without having to
re-compile the cygwin1 dll?

Any help would be much appreciated...

Thanks,

  -Scott

  ----------------------------------------------------------------
  fell@c4i.geg.mot.com /                          / 602-441-0546 W



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

