public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* Compiling pthreads with mingw
@ 2003-11-05 14:01 Andre du Toit
  0 siblings, 0 replies; only message in thread
From: Andre du Toit @ 2003-11-05 14:01 UTC (permalink / raw)
  To: pthreads-win32

Hi.

I am trying to get pthreads-win32 to compile with mingw, on M$2000.
The 'pid_t' type is undefined when compiling 'sched.h'.

The version of pthreads-win32 I have is that unpacked from 
'pthreads-2003-08-15.exe'.
I am using the g++ that ships with MinGW 3.1.0-1; i.e. 
gcc-g++-3.3.1-20030804-1 etc.

Any suggestions?  I imported the Visual C++ project file supplied with 
pthreads-win32 in Dev-C++ and tried to compile the DLL.
Now it seems that 'sys/types.h' is not included, cause that should 
supply the 'pid_t' type.  But I am not sure which of the gazillion 
#ifdefs to #undef, in order to have
the 'pid_t' type defined (sys/types.h included).

Which version combination of pthreads-win32 and mingw (g++ etc.) do you 
recommend?

Greetings,
Andre

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-11-05 14:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-11-05 14:01 Compiling pthreads with mingw Andre du Toit

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).