delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/07/04/15:03:31

Sender: rich AT phekda DOT freeserve DOT co DOT uk
Message-ID: <3B436830.E48F1C6F@phekda.freeserve.co.uk>
Date: Wed, 04 Jul 2001 20:02:08 +0100
From: Richard Dawe <rich AT phekda DOT freeserve DOT co DOT uk>
X-Mailer: Mozilla 4.77 [en] (X11; U; Linux 2.2.19 i586)
X-Accept-Language: de,fr
MIME-Version: 1.0
To: djgpp AT delorie DOT com
Subject: Re: pthreads
References: <20010704010229 DOT 18880 DOT qmail AT web14809 DOT mail DOT yahoo DOT com>
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019