This is the mail archive of the
pthreads-win32@sources.redhat.com
mailing list for the pthreas-win32 project.
Re: use pthread under winCE
- From: James Ewing <james dot ewing at sveasoft dot com>
- To: raque at research dot bell-labs dot com
- Cc: pthreads-win32 at sources dot redhat dot com
- Date: Fri, 17 Oct 2003 10:39:16 +0200
- Subject: Re: use pthread under winCE
- Organization: Sveasoft Ltd.
- References: <3F8F10F2.8070509@lucent.com>
Did you define WINCE in the project?
I compile pthreads for ARM using Micrsoft's Embedded Visual C++ 3.0
regularly and haven't had any problems. I have the following defines in
the config.h file:
#ifdef WINCE
#define NEED_DUPLICATEHANDLE
#define NEED_CREATETHREAD
#define NEED_ERRNO
#define NEED_CALLOC
#define NEED_FTIME
#define NEED_SEM
#define NEED_UNICODE_CONSTS
#endif
And the following in every file that includes <process.h>:
#if !defined(_UWIN) && !defined(WINCE)
#include <process.h>
#endif
Best Regards,
James Ewing
Benoit Raque wrote:
Hi,
I try to compile the pthreads-win32 library for winCE, but I can only
get a dll and a lib on the x86 format (using VC++6 to compile).
When I make a project in embedded Visual C (3 or 4), I get an error
"can't found process.h".
Is there a way to compile it in the ARM, MIPS or other format ?
Thank you for your help
Benoit Raque