Mail Archives: djgpp/2001/07/04/15:03:31
Hello.
Thomas Lien wrote:
> Does anyone have experience compiling pthreads in
> DJGPP? I grabbed the latest version (pth1.4.0) and
> tried to install it but it said it required
> <sys/socket.h>. Did I miss a zip file or is this
> socket library not supported? Any workarounds? While I
> am at it, has anyone had success compiling the GNU
> CommonC++ library with DJGPP? Thanks.
There are socket libraries for DJGPP - see a subsection of section 22 of
the DJGPP FAQ for a list. They either work under DOS with packet drivers
or under Windows using Windows's device drivers. AFAIK none work under
both DOS and Windows.
libsocket is one such socket library - see v2tk/ls080[bsd].zip and
http://libsocket.tsx.org/ . I used to maintain it, but it's not maintained
any more (I don't have time).
It might be better to see why GNU pth requires sys/socket.h. Then you
could provide it with a skeleton include file, to satisfy its
requirements.
I don't know about the GNU Common C++ library. I haven't heard it
mentioned in this newsgroup before.
HTH, bye,
--
Richard Dawe
http://www.phekda.freeserve.co.uk/richdawe/
- Raw text -