From: Andre du Toit <adutoit@stonethree.com>
To: pthreads-win32@sources.redhat.com
Subject: Compiling pthreads with mingw
Date: Wed, 05 Nov 2003 14:01:00 -0000 [thread overview]
Message-ID: <3FA90457.8010904@stonethree.com> (raw)
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
reply other threads:[~2003-11-05 14:01 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FA90457.8010904@stonethree.com \
--to=adutoit@stonethree.com \
--cc=pthreads-win32@sources.redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).