public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
* Status for Windows CE with pthreads 2.7.0?
@ 2006-08-28 20:11 Marcel Ruff
  0 siblings, 0 replies; 2+ messages in thread
From: Marcel Ruff @ 2006-08-28 20:11 UTC (permalink / raw)
  To: pthreads-win32

Hi,

i'm trying to compile the newest pthreads for Windows CE.

Importing pthreads.c into VC++ 2005 and compile with /D WINCE
fails with many errors:

For example pthread_rwlock_destroy.c contains a
  #include <errno.h>
which does not work in CE, so i believe the code is not ready
for this?

Has anybody successfully compiled pthreads for CE?
Could you share how to do this (probably a VC++ project file) or
can anybody provide a precompiled dll for Windows CE?

thanks for some ideas,

Marcel

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Status for Windows CE with pthreads 2.7.0?
  2006-09-14 15:56 David Bo Jensen
@ 2006-09-14 18:27 ` Romano Paolo Tenca
  0 siblings, 0 replies; 2+ messages in thread
From: Romano Paolo Tenca @ 2006-09-14 18:27 UTC (permalink / raw)
  To: pthreads-win32

Some small fixes:

1) Should be said somewhere that the static lib must be build with this 
option:

-lws2_32

2) In ptw32_MCS_lock.c, should be

#include "pthread.h"
#include "implement.h"

not

#include "implement.h"
#include "pthread.h"

3) gcc proto missing warnings:

gcc -c -o pthread_spin_lock.o -D__CLEANUP_C -O3 -finline-functions 
-DPTW32_STATI
C_LIB -I. -DHAVE_CONFIG_H -Wall  pthread_spin_lock.c

pthread_spin_lock.c: In function `pthread_spin_lock':
pthread_spin_lock.c:55: warning: implicit declaration of function 
`ptw32_spinloc
k_check_need_init'


gcc -c -o pthread_spin_trylock.o -D__CLEANUP_C -O3 -finline-functions 
-DPTW32_ST
ATIC_LIB -I. -DHAVE_CONFIG_H -Wall  pthread_spin_trylock.c

pthread_spin_trylock.c: In function `pthread_spin_trylock':
pthread_spin_trylock.c:55: warning: implicit declaration of function 
`ptw32_spin
lock_check_need_init'

-- 
Romano Paolo Tenca


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2006-09-14 18:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-28 20:11 Status for Windows CE with pthreads 2.7.0? Marcel Ruff
2006-09-14 15:56 David Bo Jensen
2006-09-14 18:27 ` Status " Romano Paolo Tenca

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).