[llvm-dev] Error cross building LLVM for MinGW

Richard Pennington via llvm-dev llvm-dev at lists.llvm.org
Fri Feb 19 10:42:30 PST 2016


On 02/18/2016 11:51 PM, Tony Kelman via llvm-dev wrote:
>
> I can reproduce actually. Does your ecc++ driver default to trying to
> link libstdc++ statically? Using the kinda-old x86_64-w64-mingw32-clang++
> 3.5.1 that was recently added to Cygwin I get the same, but only when I
> try to build with -static-libstdc++. (-fno-exceptions wouldn't be needed
> with a more recent clang, I think)
>
> $ x86_64-w64-mingw32-clang++ -fno-exceptions -static-libstdc++ test.cpp
>
Yes, I link statically so I don't have to send DLLs.

-Rich


More information about the llvm-dev mailing list