libwww compiles and links sample apps in cygwin b20 environment

I just tried the latest cygwin b20 [1] out and also checked libtool [2],
automake [3], and autoconf [4] out on my NT 40 box and tried to compile
libwww. It turns out that with a very few fixes, it was capable of
compiling and linking libwww [5] and most of its sample applications out of
the box.

As this is really my preferred way of compiling libwww on wintel, I would
ask interested people in trying this out as well and help fixing any problems.

Some minor problems encountered:

* When checking out libtool I had a minor problem running autogen - aclocal
needed macros defined in libtool.m4 which wasn't yet installed. It worked
after I copied the libtool.m4 into the installed folder.

* I had to copy the new versions of libtool's ltconfig and ltmain.sh into
libwww/config as these scripts have been updated

* After that, there were only two small problems:

a) In the configure script, gcc -print-prog-name=ld doesn't return the
cygnus path. I saw in the cygwin archives that this will be solved. I fixed
it by editing the configure script directly

b) stdout is not considered a constant initializer (had to fix linemode
browser, fix committed to CVS)

libtool didn't seem to generate a DLL. Until now I have compiled (using
msvc) libwww into a set of DLLs each with their own export tables. It would
be fine to generate a single DLL instead but I am not sure on how to do
that with libtool.

Thanks,

Henrik

[1] http://sourceware.cygnus.com/cygwin/
[2] http://www.gnu.org/software/libtool/libtool.html
[3] http://sourceware.cygnus.com/automake/
[4] http://sourceware.cygnus.com/autoconf/
[5] http://www.w3.org/Library/cvs.html

--
Henrik Frystyk Nielsen,
World Wide Web Consortium
http://www.w3.org/People/Frystyk

Received on Wednesday, 25 November 1998 10:52:46 UTC