Re: [Mingw-w64-public] Link with static libwinpthread problem

2013-02-04 Thread Алексей Павлов
g++ -v example.cpp -static-libstdc++ -static-libgcc -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic This is output: Using built-in specs. COLLECT_GCC=c:\QtSDK\Qt-builds\toolchains\mingw32\bin\g++.exe COLLECT_LTO_WRAPPER=c:/qtsdk/qt-builds/toolchains/mingw32/bin/../libexec/gcc/i686-w64-mingw32/4.7.2/lto-w

Re: [Mingw-w64-public] Link with static libwinpthread problem

2013-02-04 Thread NightStrike
> 2013/1/26 Алексей Павлов : >> Hi! >> I try to build static program and pass to LDFLAGS: >> >> -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic -static -s >> >> But it link with dynamic libwinpthreads-1.dll. What I doing wrong? Can you show the output of adding -v to that command line? -

Re: [Mingw-w64-public] Link with static libwinpthread problem

2013-02-02 Thread Алексей Павлов
Ping? 2013/1/26 Алексей Павлов : > Hi! > I try to build static program and pass to LDFLAGS: > > -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic -static -s > > But it link with dynamic libwinpthreads-1.dll. What I doing wrong? --

[Mingw-w64-public] Link with static libwinpthread problem

2013-01-25 Thread Алексей Павлов
Hi! I try to build static program and pass to LDFLAGS: -Wl,-Bstatic -lwinpthread -Wl,-Bdynamic -static -s But it link with dynamic libwinpthreads-1.dll. What I doing wrong? -- Master Visual Studio, SharePoint, SQL, ASP.N