Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>,
	<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: Chris Faylor <cgf@cygnus.com>
Date: Mon, 23 Aug 1999 17:54:01 -0400
To: stern@itginc.com
Cc: cygwin@sourceware.cygnus.com
Subject: Re: Dynamically linking multiple copies
Message-ID: <19990823175401.A15650@cygnus.com>
Reply-To: cygwin@sourceware.cygnus.com
Mail-Followup-To: stern@itginc.com, cygwin@sourceware.cygnus.com
References: <19990823213708.5699.rocketmail@web1401.mail.yahoo.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
X-Mailer: Mutt 0.95.6i
In-Reply-To: <19990823213708.5699.rocketmail@web1401.mail.yahoo.com>; from James Stern on Mon, Aug 23, 1999 at 02:37:08PM -0700

On Mon, Aug 23, 1999 at 02:37:08PM -0700, James Stern wrote:
>I was about to write the above-mentioned gawk program myself when I hit
>another roadblock.  How do I tell the difference between an undefined
>function and an undefined extern variable?  'nm' marks them both 'U'.
>I need to distinguish one from the other to write that gawk script.

Hmm.  That's a good question.  objdump will also display this
information, in a much different format, but it doesn't look like it
offers this kind of info either.

Maybe you need to do a two pass operation, looking for all of the
exported symbols first, and then using that information to either
prodice a def file or add declspec(dllimport) to the appropriate
declarations.

cgf

--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

