Libwww again

Mumit Khan khan@xraylith.wisc.EDU
Wed Jul 7 18:46:00 GMT 1999


On Thu, 8 Jul 1999, Geoff Appleby wrote:

> I asked a fair while ago if libwww could be compiled under cygwin.
> I got a yes answer *grin* and then discovered that basically I'd
> installed cygwin badly,
> but fixed it up and it compiles :).  Now i'm wondering, and I haven't
> been able to find any
> answer anywhere else ( :P ) if it will compile with -mno-cygwin?  

It may, but then again it may not ;-) Mingw, which is what mno-cygwin
implies, uses MS runtime which lacks lot of the POSIX goodies that we
take for granted in Cygwin. If libwww doesn't use it, then you're fine.
However, unless someone has ported the networking code to use MS-style
Winsock instead of POSIX/BSD sockets, then the obvious answer is no, it 
doesn't work using -mno-cygwin.

> I
> figure it's
> easier to ask rather than change _all_ the makefiles that come with it
> :)
> Any ideas?
> 
> Also, and I know this one is answered somewhere, but i can't find it
> again where it mentioned it,
> what _will_ compile under -mno-cygwin? Before you get the wrong idea,
> I'm talking straight C, no
> C++ or fortran or anythign.  Can any C program compiled in cygwin be
> made cygwin1.dll independant?

It's somewhat irrelevant whether it's plain C or C++ or F77.  The only
way you can get cygwin.dll-independent output *in* Cygwin is to use
the Cygwin compiler in the mno-cygwin mode. Please see my writeup
on the various issues involved in using -mno-cygwin:

  http://www.xraylith.wisc.edu/~khan/software/gnu-win32/

And in case you're wondering, all this has been discussed to death in
this list. The list archive is your friend, use it. You can use the
search interface available from Cygwin home page or use eGroups.com
http://www.egroups.com/lists/gnu-win32/

Regards,
Mumit



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com



More information about the Cygwin mailing list