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: List-Archive: List-Post: List-Help: , 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 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 CC: Robert Collins , Danny Smith , Paul Sokolovsky , 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> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit 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