Mail Archives: cygwin-apps/2002/03/20/21:25:06
On Wed, 20 Mar 2002, Christopher Faylor wrote:
> On Wed, Mar 20, 2002 at 06:09:33PM -0500, Charles Wilson wrote:
> >(In the old days, making a DLL required intrusive and exhausting changes
> >to lots and lots of source files -- __declspec(dllexport) this,
> >__declspec(dllexport that)... -- but no longer.) With auto-import
> >binutils, and the libtool-devel package, you merely:
> >
> >rm ldconfig.sh
> >rm ltmain.sh
> > << edit configure.in and make sure that
> > it AC_PREREQ's 2.50 or greater >>
> >libtoolize --force -c
> >aclocal ( possibly need to add '-I some-subdir')
> >automake --force -a
> >autoconf
> >
> >And then configure/make as usual -- an poof! DLL AND static lib.
>
> I don't think that tcp wrappers uses configure or libtool, though.
> Or it didn't the last time I looked at it.
>
Still doesn't, in fact the rebuild steps from my readme are as follows:
To rebuild this package from the source:
1) cd into /usr/src/tcp_wrappers_7.6
2) run make cygwin
3) strip all exe's
4) mv *.exe /usr/sbin
5) mv libwrap.a /lib
> >Okay, maybe it's not QUITE that easy, but it's close. You do need to
> >understand the autotools and maybe read a few man pages, but...
> >
> >Still, this is a maintainer decision. If you don't want to DLLize, that
> >is your prerogative. No complaints from me.
>
> Nor from me. It was just a suggestion. I don't think I've ever seen
> a shared version of libwrap, actually.
>
> cgf
>
I am still open to looking at what it takes to DLL'ize the lib, and
willing to test it to see what gains we get from it... when I get the
chance ;)
--
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
- Raw text -