Mailing-List: contact cygwin-apps-help AT cygwin DOT com; run by ezmlm Sender: cygwin-apps-owner AT cygwin DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Mail-Followup-To: cygwin-apps AT cygwin DOT com Delivered-To: mailing list cygwin-apps AT cygwin DOT com X-Authentication-Warning: magetower.office.aol.com: prentis owned process doing -bs Date: Wed, 3 Apr 2002 14:53:23 -0500 (EST) From: Prentis Brooks To: cygwin-apps AT cygwin DOT com Subject: Re: TCP Wrappers In-Reply-To: <20020403174903.GB7542@redhat.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Ok, maybe I just misunderstood your replies to someone asking for dll'ization or maybe it was you who asked for it. Basically, here is the situation, TCP Wrappers only has a single Makefile, no configure or libtool (understand, I am not completely understanding all of the components involved with building the dll). If I understood the previous conversation then I would need libtool support to simplify the dll generation. If I misunderstood, then I can play with the info given below by Christopher and start trying to make it work. I should be able to work on it this weekend and start playing with it then. If I can get a dll built, then I will probably test building openssh against it (may have to ping Corrinna about doing that as again this goes into uncharted cygwin waters for me. Good practice and a learning experience, but I may need help initially) On Wed, 3 Apr 2002, Christopher Faylor wrote: > On Wed, Apr 03, 2002 at 12:37:25PM -0500, Prentis Brooks wrote: > > I am willing to look into this, it currently does not use libtool, so I > > have a lot of mods to make that happen, if I understood cgf right. > > I don't remember saying this. > > It *should* be as simple as saying > > gcc -Wl,--export-all-symbols -shared -o foo.dll -Wl,--out-implib,cygfoo.a *.o > > but I guess it rarely is. > > (I know the above is probably missing some crucial piece or other, I'm > just vaguely showing how it should work.) > > cgf > -- Prentis Brooks | prentis AT aol DOT net | 703-265-0914 | AIM: PrentisBrooks Senior System Administrator - Web Infrastructure & Security A knight is sworn to valor. His heart knows only virtue. His blade defends the helpless. His word speaks only truth. His wrath undoes the wicked. - the old code of Bowen, last of the dragonslayers