delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-apps/2001/08/03/23:51:29

Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com
List-Subscribe: <mailto:cygwin-apps-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin-apps/>
List-Post: <mailto:cygwin-apps AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-apps-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/lists.html#faqs>
Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com
Message-ID: <3B6B7134.5050200@ece.gatech.edu>
Date: Fri, 03 Aug 2001 23:51:16 -0400
From: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.2) Gecko/20010713
X-Accept-Language: en-us
MIME-Version: 1.0
To: Charles Wilson <cwilson AT ece DOT gatech DOT edu>
CC: Robert Collins <robert DOT collins AT itdomain DOT com DOT au>,
Danny Smith <danny_r_smith_2001 AT yahoo DOT co DOT nz>,
Paul Sokolovsky <paul DOT sokolovsky AT technologist DOT com>,
cygwin-apps AT cygwin DOT com
Subject: Re: auto-import STATUS
References: <20010803233635 DOT 73332 DOT qmail AT web14506 DOT mail DOT yahoo DOT com> <996892555 DOT 8222 DOT 13 DOT camel AT lifelesswks> <3B6B6D15 DOT 1010804 AT ece DOT gatech DOT edu>

You know, I think the problem here is terminology.

1) auto_export()
   A function that is called in certain circumstances (detailed in 
earlier message) that REMOVES "banned" symbols from the export list.

2) auto-import support when creating DLL's
   When creating a DLL, add special thunking symbols for DATA exports 
that can be used by the auto-import function LATER --- when you're 
linking a client app.  (Although it appears that these thunking symbols 
must be added for ALL exports, not just DATA exports.  It's just that 
they are only *needed* for DATA items).
   I think this it what Rob is thinking of when he says "--auto-export" 
(which doesn't really exist).

3) --enable-auto-import
   When linking a client app to a DLL, attempt to use the thunking 
symbols (if present).  Note that this only has any effect for DATA items 
that are exported (thunked) by the DLL.  We "always" have allowed 
'auto-import' of *functions* that are exported by the DLL (as long as 
the DLL contains the appropriate symbols).

We need a good name for 2).  And the auto_export() function should 
probably be renamed, since it is current a cause for confusion. 
"filter_export_list()" ?  :->

--Chuck



- Raw text -


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