Re: [Mingw-w64-public] [Mingw-users] How best to create multiple threads in MINGW

2011-09-19 Thread Ruben Van Boxem
Op 20 sep. 2011 00:58 schreef "JonY" het volgende: > > On 9/20/2011 05:05, Venu Gopal wrote: > > > > > > If you're willing to use mingw-w64, I believe that std::thread *is* supported on windows. > >>> There are *experimental* GCC 4.7 and 4.6 builds available, but for now only linking with "-s

Re: [Mingw-w64-public] Compiling a dll for JNI and java 64 bits

2011-09-19 Thread RAPPAZ Francois
Yes, that does not work, on W7, to have a dll usable with java 64 bits: jdk='/cygdrive/c/Program Files/Java/Jdk1.7.0' x86_64-w64-mingw32-g++ -w -mno-cygwin -I"$jdk/include" -I"$jdk/include/win32" -Wl,--add-stdcall-alias -shared -o kbhook.dll kbhook.cpp It does produce a file without error messa

Re: [Mingw-w64-public] [Mingw-users] How best to create multiple threads in MINGW

2011-09-19 Thread JonY
On 9/20/2011 05:05, Venu Gopal wrote: > > > If you're willing to use mingw-w64, I believe that std::thread *is* > supported on windows. >>> There are *experimental* GCC 4.7 and 4.6 builds available, but for now only >>> linking with "-static" works. > >>> GCC 4.6: >>> http://code.goo

Re: [Mingw-w64-public] [Mingw-users] How best to create multiple threads in MINGW

2011-09-19 Thread Ruben Van Boxem
2011/9/19 K. Frank > Hi Ruben! > > On Mon, Sep 19, 2011 at 2:20 PM, Ruben Van Boxem > wrote: > > 2011/9/19 K. Frank > >> ... > >> I'm certainly not trying to put you on the spot > >> with exaggerated claims. (And for everyone's information, Ruben will > >> be releasing a c++22-compliant person

Re: [Mingw-w64-public] [Mingw-users] How best to create multiple threads in MINGW

2011-09-19 Thread K. Frank
Hi Ruben! On Mon, Sep 19, 2011 at 2:20 PM, Ruben Van Boxem wrote: > 2011/9/19 K. Frank >> ... >> I'm certainly not trying to put you on the spot >> with exaggerated claims.  (And for everyone's information, Ruben will >> be releasing a c++22-compliant personal build next week.) > > I'm sure you

Re: [Mingw-w64-public] [Mingw-users] How best to create multiple threads in MINGW

2011-09-19 Thread Ruben Van Boxem
2011/9/19 K. Frank > Hi Ruben! > > On Mon, Sep 19, 2011 at 1:46 PM, Ruben Van Boxem > wrote: > > Op 19 sep. 2011 01:08 schreef "K. Frank" het > volgende: > > ... > > There are *experimental* GCC 4.7 and 4.6 builds available, but for now > only > > linking with "-static" works. > > > > GCC 4.6:

Re: [Mingw-w64-public] [Mingw-users] How best to create multiple threads in MINGW

2011-09-19 Thread K. Frank
Hi Ruben! On Mon, Sep 19, 2011 at 1:46 PM, Ruben Van Boxem wrote: > Op 19 sep. 2011 01:08 schreef "K. Frank" het volgende: > ... > There are *experimental* GCC 4.7 and 4.6 builds available, but for now only > linking with "-static" works. > > GCC 4.6: > http://code.google.com/p/pcxprj/downloads/

Re: [Mingw-w64-public] [Mingw-users] How best to create multiple threads in MINGW

2011-09-19 Thread Ruben Van Boxem
Op 19 sep. 2011 01:08 schreef "K. Frank" het volgende: > > Hello Venu! > > I have taken the liberty of copying this post to the mingw-w64 list, > as it's relevant there, as well. > > On Sun, Sep 18, 2011 at 4:18 PM, veegee wrote: > > > > Hi K. Frank: > > > >>> To follow up on an earlier suggestio

Re: [Mingw-w64-public] Problem with i686-w64-mingw32-gcc-4.6.2-2_rubenvb

2011-09-19 Thread Kai Tietz
2011/9/19 NightStrike : > Ping for Mr. Tietz :) > > On Thu, Sep 15, 2011 at 8:52 AM, Ruben Van Boxem > wrote: >> Op 15 sep. 2011 13:27 schreef "Earnie Boyd" >> het volgende: >> >>> >>> On Thu, 15 Sep 2011 12:33:38 +0200 >>> Ruben Van Boxem wrote: >>> >>> > Op 15 sep. 2011 12:16 schreef "Andrei L

[Mingw-w64-public] clever toolchain dep mgmt examples?

2011-09-19 Thread Jon
I'm working on an app (targeted to run on WinXP_SP2+) having DLLs with runtime dependencies on the particular MinGW-w64 `libgcc_s_sjlj-1.dll` and `libstdc++-6.dll` artifacts used to build the app. As such, these specific artifact versions will need to be placed on the end users PATH. I'm intere

Re: [Mingw-w64-public] include/unknwn.h:28:1: error: unknown type name 'interface'

2011-09-19 Thread Kyle
On 9/19/2011 9:25 AM, NightStrike wrote: > On Sun, Sep 18, 2011 at 2:33 PM, Kyle wrote: >> On 9/18/2011 7:17 AM, JonY wrote: >>> Objective C seems to be affecting your issue. >> Any chance of a quick fix? > Add it to your configure line and recompile :) Added --enable-fully-dynamic-string to GCC

Re: [Mingw-w64-public] include/unknwn.h:28:1: error: unknown type name 'interface'

2011-09-19 Thread JonY
On 9/19/2011 21:25, NightStrike wrote: > On Sun, Sep 18, 2011 at 7:28 PM, JonY wrote: >> On 9/19/2011 06:53, Kyle wrote: >>> On 9/18/2011 6:43 PM, JonY wrote: On 9/19/2011 02:33, Kyle wrote: > I used to use that option but I believe it was removed. grep -ir > "enable-fully-dynamic-str

Re: [Mingw-w64-public] Compiling a dll for JNI and java 64 bits

2011-09-19 Thread NightStrike
Still having problems? On Fri, Sep 16, 2011 at 4:31 AM, RAPPAZ Francois wrote: > Kay, > > Yes I was meaning Windows 7 sorry. > > >From the control panel, system, I see that I have Windows 7 Enterprise, 64 > >Bit operating system. > > Francois > > > -Original Message- > From: Kai Tietz [m

Re: [Mingw-w64-public] Problem with i686-w64-mingw32-gcc-4.6.2-2_rubenvb

2011-09-19 Thread NightStrike
Ping for Mr. Tietz :) On Thu, Sep 15, 2011 at 8:52 AM, Ruben Van Boxem wrote: > Op 15 sep. 2011 13:27 schreef "Earnie Boyd" > het volgende: > >> >> On Thu, 15 Sep 2011 12:33:38 +0200 >> Ruben Van Boxem wrote: >> >> > Op 15 sep. 2011 12:16 schreef "Andrei Lapshin" het >> > volgende: >> > > >> >

Re: [Mingw-w64-public] include/unknwn.h:28:1: error: unknown type name 'interface'

2011-09-19 Thread NightStrike
On Sun, Sep 18, 2011 at 2:33 PM, Kyle wrote: > On 9/18/2011 7:17 AM, JonY wrote: >> Objective C seems to be affecting your issue. > > Any chance of a quick fix? Add it to your configure line and recompile :) -- BlackBerr

Re: [Mingw-w64-public] include/unknwn.h:28:1: error: unknown type name 'interface'

2011-09-19 Thread NightStrike
On Sun, Sep 18, 2011 at 7:28 PM, JonY wrote: > On 9/19/2011 06:53, Kyle wrote: >> On 9/18/2011 6:43 PM, JonY wrote: >>> On 9/19/2011 02:33, Kyle wrote: I used to use that option but I believe it was removed. grep -ir "enable-fully-dynamic-strings" * on the source dir turns up nothing. >>

Re: [Mingw-w64-public] [Mingw-users] How best to create multiple threads in MINGW

2011-09-19 Thread NightStrike
On Sun, Sep 18, 2011 at 8:22 PM, veegee wrote: > > Hi K. Frank: > >>> I have taken the liberty of copying this post to the mingw-w64 list, >>> as it's relevant there, as well. > > No Problem.  Honestly, I am not familiar with mingw-w64 project and the > relation between > mingw and mingw-w64.  At