X-Recipient: archive-cygwin AT delorie DOT com X-Spam-Check-By: sourceware.org Date: Tue, 20 Nov 2007 15:49:28 -0500 From: Christopher Faylor To: cygwin AT cygwin DOT com Subject: Re: Announce: FlexDLL, flexible DLLs under Windows Message-ID: <20071120204928.GA24460@ednor.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com References: <4742E7F7 DOT 8000400 AT frisch DOT fr> <057201c82b84$98ee9870$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <20071120154156 DOT GA23663 AT ednor DOT casa DOT cgf DOT cx> <6910a60711201039i1a5f114br2922598fa9781951 AT mail DOT gmail DOT com> <05c601c82ba5$6a2ea860$2e08a8c0 AT CAM DOT ARTIMI DOT COM> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <05c601c82ba5$6a2ea860$2e08a8c0@CAM.ARTIMI.COM> User-Agent: Mutt/1.5.16 (2007-06-09) Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com On Tue, Nov 20, 2007 at 06:44:43PM -0000, Dave Korn wrote: >On 20 November 2007 18:39, Reini Urban wrote: > >> 2007/11/20, Christopher Faylor: >> ... >>> Indeed, this is very interesting. It sounds a little like the >>> autoload.cc code in Cygwin which handles optional linking from dlls but it >>> is obviously much more advanced. >> >> Where should it go to? >> Puttin it into libtool sounds nearest to me, to work around -no-undefined. > >(Without having actually specced out the implementation yet,) I don't >see why we couldn't do this trick entirely in ld, with a support >routine or two in libgcc. It can't go entirely into libtool, I would >have thought; it requires some additional code at runtime. That sounds correct to me. It seems to require some startup runtime code. You could conceivably put that in crt*.o. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/