This is the mail archive of the pthreads-win32@sources.redhat.com mailing list for the pthreas-win32 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Compiling pthreads with mingw


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]