Re: [Mingw-w64-public] Getting Rid of winpthread Dynamic Dependency

2013-07-25 Thread niXman
2013/7/25 Haroogan: > Should I use -static switch? Yes, try use only '-static' -- Regards, niXman ___ Dual-target(32 & 64-bit) MinGW compilers for 32 and 64-bit Windows: http://sourceforge.net/projects/mingwbuilds/

Re: [Mingw-w64-public] Getting Rid of winpthread Dynamic Dependency

2013-07-25 Thread niXman
2013/7/25 Haroogan: > Hey everyone, > > Just ran into a problem. Executables produced by latest MinGW-w64 (4.8.1) > might depend on libwinpthread-1.dll. I'd like to get rid of this dependency. > What I've tried so far: > > -Wl,-Bstatic -lpthread -Wl,-Bdynamic > > but out of luck. How is it even pos

Re: [Mingw-w64-public] Getting Rid of winpthread Dynamic Dependency

2013-07-25 Thread Alexey Pavlov
2013/7/25 Ruben Van Boxem > > 2013/7/25 Haroogan > >> That's weird, but even >> >> -static-libgcc -static-libstdc++ -static -Wl,-Bstatic -lpthread >> -Wl,-Bdynamic >> >> does not help. Why? >> > > Can you run dependency walker on the executable and see what exactly is > pulling in the winpthread

Re: [Mingw-w64-public] Getting Rid of winpthread Dynamic Dependency

2013-07-25 Thread Ruben Van Boxem
2013/7/25 Haroogan > That's weird, but even > > -static-libgcc -static-libstdc++ -static -Wl,-Bstatic -lpthread > -Wl,-Bdynamic > > does not help. Why? > Can you run dependency walker on the executable and see what exactly is pulling in the winpthread DLL? Ruben > > Regards, > Haroogan > > >

Re: [Mingw-w64-public] Getting Rid of winpthread Dynamic Dependency

2013-07-25 Thread Haroogan
That's weird, but even -static-libgcc -static-libstdc++ -static -Wl,-Bstatic -lpthread -Wl,-Bdynamic does not help. Why? Regards, Haroogan -- See everything from the browser to the database with AppDynamics Get end-to

Re: [Mingw-w64-public] Getting Rid of winpthread Dynamic Dependency

2013-07-25 Thread Ruben Van Boxem
2013/7/25 Haroogan > Hey everyone, > > Just ran into a problem. Executables produced by latest MinGW-w64 (4.8.1) > might depend on libwinpthread-1.dll. I'd like to get rid of this > dependency. What I've tried so far: > > -Wl,-Bstatic -lpthread -Wl,-Bdynamic > > but out of luck. How is it even p

Re: [Mingw-w64-public] Getting Rid of winpthread Dynamic Dependency

2013-07-25 Thread Haroogan
Should I use -static switch? -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds

[Mingw-w64-public] Getting Rid of winpthread Dynamic Dependency

2013-07-25 Thread Haroogan
Hey everyone, Just ran into a problem. Executables produced by latest MinGW-w64 (4.8.1) might depend on libwinpthread-1.dll. I'd like to get rid of this dependency. What I've tried so far: -Wl,-Bstatic -lpthread -Wl,-Bdynamic but out of luck. How is it even possible? Is it a known issue? Tha