On 5/16/2014 5:45 PM, niXman wrote:
> Suresh Govindachar 2014-05-17 03:45:
>> Hello,
> Hi,
>>
>> The page http://mingw-w64.sourceforge.net/download.php says:
[...]
>> 2) When I tried to use g++ from
>> x86_64-4.8.2-release-posix-seh-rt_v3-rev4.7z
>> (x86_64-w64-mingw32-g++.exe (x86_64-posix-seh-rev4, Built by
>> MinGW-W64 project) 4.8.2), I got the message about missing
>> libwinpthread-1.dll:
>>
>> Command used to compile (all in one line without '\'):
[fixed typo in original email involving the two "-static" prefixes:]
>> /c/opt/mingw64/bin/x86_64-w64-mingw32-g++.exe \
>> -D_WIN64 \
>> -Wall \
>> -Wextra \
>> -Werror \
>> -std=c++11 \
>> -O3 \
>> [fixed typo] -static-libgcc \
>> [fixed typo] -static-libstdc++ \
>> mt.cc -o mt.exe
>>
>> I do see the file /c/opt/mingw64/opt/bin/libwinpthread-1.dll
>> -- how do I let the compiler (and the resulting executable)
>> see this too?
>
> Try this command line:
> x86_64-w64-mingw32-g++.exe \
> -D_WIN64 \
> -Wall \
> -Wextra \
> -Werror \
> -std=c++11 \
> -O3 \
> -static \
> mt.cc -o mt.exe
Upgraded to 4.9.0 (x86_64-posix-seh-rev1, Built by MinGW-W64
project). Tried the above command and the one below -- both give the
same pop-up error message from cc1plus.exe about not finding
libwinpthread-1.dll:
/c/opt/mingw64/bin/x86_64-w64-mingw32-g++.exe \
-D_WIN64 \
-Wall \
-Wextra \
-Werror \
-std=c++11 \
-O3 \
-static \
-static-libgcc \
-static-libstdc++ \
-L/c/opt/mingw64/bin/
mt.cc -o mt.exe
Perhaps I need to set some environment variable?
--Suresh
------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public