Re: [Mingw-w64-public] GCC C++0x

2010-08-25 Thread K. Frank
Hello All - On Wed, Aug 25, 2010 at 5:09 PM, Kai Tietz wrote: > 2010/8/25 Ruben Van Boxem : >>> >>> 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. >>>

Re: [Mingw-w64-public] GCC C++0x

2010-08-25 Thread Kai Tietz
2010/8/25 Ruben Van Boxem : >> >> 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. M

Re: [Mingw-w64-public] GCC C++0x

2010-08-25 Thread Ruben Van Boxem
> > > 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

Re: [Mingw-w64-public] GCC C++0x

2010-08-25 Thread Ruben Van Boxem
2010/8/25 Ruben Van Boxem > 2010/8/25 Ruben Van Boxem > >> 2010/8/25 Kai Tietz >> >> 2010/8/25 Ruben Van Boxem : >>> >> Yes, I would prefer here a native win32 API variant for threads, as >>> >> the dependency to pthread for c++ isn't in all cases the best >>> >> solution. Also it seems to me t

Re: [Mingw-w64-public] GCC 4.6 mingw-w64 Windows x64 native builds

2010-08-25 Thread NightStrike
On Wed, Aug 25, 2010 at 1:51 PM, K. Frank wrote: > Hello All - > > On Wed, Aug 25, 2010 at 8:34 AM, John E. / TDM wrote: >>  On 8/25/2010 5:29 AM, Earnie wrote: >>> John E. / TDM wrote:  * Every C++ program would require the pthreads-w32 DLL to be  distributed with it. >>> ... >>> Why n

Re: [Mingw-w64-public] GCC C++0x

2010-08-25 Thread Ruben Van Boxem
2010/8/25 Ruben Van Boxem > 2010/8/25 Kai Tietz > > 2010/8/25 Ruben Van Boxem : >> >> Yes, I would prefer here a native win32 API variant for threads, as >> >> the dependency to pthread for c++ isn't in all cases the best >> >> solution. Also it seems to me that the abilities of c++0x are limite

Re: [Mingw-w64-public] GCC 4.6 mingw-w64 Windows x64 native builds

2010-08-25 Thread K. Frank
Hello All - On Wed, Aug 25, 2010 at 8:34 AM, John E. / TDM wrote: >  On 8/25/2010 5:29 AM, Earnie wrote: >> John E. / TDM wrote: >>>  * Every C++ program would require the pthreads-w32 DLL to be >>>  distributed with it. >> ... >> Why not code pthreads to use Windows gthreads?  It would get wider

Re: [Mingw-w64-public] GCC C++0x

2010-08-25 Thread Ruben Van Boxem
2010/8/25 Kai Tietz > 2010/8/25 Ruben Van Boxem : > >> Yes, I would prefer here a native win32 API variant for threads, as > >> the dependency to pthread for c++ isn't in all cases the best > >> solution. Also it seems to me that the abilities of c++0x are limited > >> and so a native win32 imple

Re: [Mingw-w64-public] GCC C++0x

2010-08-25 Thread Kai Tietz
2010/8/25 Ruben Van Boxem : >> Yes, I would prefer here a native win32 API variant for threads, as >> the dependency to pthread for c++ isn't in all cases the best >> solution. Also it seems to me that the abilities of c++0x are limited >> and so a native win32 implementation should work. > > That'

Re: [Mingw-w64-public] GCC C++0x

2010-08-25 Thread Ruben Van Boxem
> > Yes, I would prefer here a native win32 API variant for threads, as > the dependency to pthread for c++ isn't in all cases the best > solution. Also it seems to me that the abilities of c++0x are limited > and so a native win32 implementation should work. That's good news! > We have patche

Re: [Mingw-w64-public] GCC 4.6 mingw-w64 Windows x64 native builds

2010-08-25 Thread Kai Tietz
2010/8/25 John E. / TDM : >  On 8/25/2010 5:59 AM, Prof Brian Ripley wrote: >> There is no such thing as 'the LGPL', and it matters which version. >> Version 2.1 (which seems the relevant version) requires you to >> distribute source code in its clause 4, and so does LGPL-3. >> >> But note that sim

Re: [Mingw-w64-public] GCC 4.6 mingw-w64 Windows x64 native builds

2010-08-25 Thread John E. / TDM
On 8/25/2010 5:59 AM, Prof Brian Ripley wrote: > There is no such thing as 'the LGPL', and it matters which version. > Version 2.1 (which seems the relevant version) requires you to > distribute source code in its clause 4, and so does LGPL-3. > > But note that similar requirements (from GPL-3) a

Re: [Mingw-w64-public] GCC 4.6 mingw-w64 Windows x64 native builds

2010-08-25 Thread John E. / TDM
On 8/25/2010 5:29 AM, Earnie wrote: > John E. / TDM wrote: >> * Every C++ program would require the pthreads-w32 DLL to be >> distributed with it. > > You mean every thread enabled program would need to distribute it, > correct? Wouldn't libstdc++ be coded to be conditionally dependent on >

Re: [Mingw-w64-public] GCC 4.6 mingw-w64 Windows x64 native builds

2010-08-25 Thread Prof Brian Ripley
On Wed, 25 Aug 2010, Earnie wrote: > John E. / TDM wrote: >> On 8/24/2010 3:24 PM, Ruben Van Boxem wrote: >>> I think there needs to be some code written to link win32-pthreads >>> to the gcc std::thread API, just like OpenMP also uses >>> win32-pthreads. Is this line of thought correct? >> >> T

Re: [Mingw-w64-public] GCC 4.6 mingw-w64 Windows x64 native builds

2010-08-25 Thread Earnie
John E. / TDM wrote: > On 8/24/2010 3:24 PM, Ruben Van Boxem wrote: > > I think there needs to be some code written to link win32-pthreads > > to the gcc std::thread API, just like OpenMP also uses > > win32-pthreads. Is this line of thought correct? > > This is correct -- and also extremely inco

Re: [Mingw-w64-public] GCC C++0x

2010-08-25 Thread Kai Tietz
2010/8/25 Ruben Van Boxem : > I guess this mailing list is as good a place as any to start this > discussion. > > Eventually it will boil down to someone writing the hard code (as I am not > near capable enough). I can, though, get some info and gather docs for a > willing party. > > The thing is:

[Mingw-w64-public] GCC C++0x

2010-08-25 Thread Ruben Van Boxem
I guess this mailing list is as good a place as any to start this discussion. Eventually it will boil down to someone writing the hard code (as I am not near capable enough). I can, though, get some info and gather docs for a willing party. The thing is: GCC 4.4+ has provided std::thread for POSI