>
>
> Brand new idea: I define
> #define _GLIBCXX_HAS_GTHREADS 1
>
This adds thread to std:: and allows me to see what undefined stuff there
> is! Perfect, no? I'll keep you guys informed.
>
> Ruben
>

Sorry for the SPAM...

Some additional thoughts:

1. Mingw-w64 compilers define:
GCC_GTHR_WIN32_H

but only the 4.6 snapshots contain the actual header and implementation.

2. The GCC header
lib\gcc\x86_64-w64-mingw32\4.5.0\include\c++\x86_64-w64-mingw32\bits\gthr.h
will have to have a win32 threads case (around line 153, 4.6 snapshot) and
include the gthr-win32.h header.

3. missing types and functions:
__gthread_time_t will have to be defined to time.h's (actually
sys/timeb.h's) struct timespec (as in gthr-posix.h).
__gthread_cond_t is harder than the previous, see for example:
http://www.cs.wustl.edu/~schmidt/win32-cv-1.html)
... (many more, but can't say for sure if the two above aren't the problem)

4. The defines above should be set by the compiler automatically (once
everything works of course).

Now I'm stuck :(

Ruben
------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to