search for: build_mingw

Displaying 2 results from an estimated 2 matches for "build_mingw".

2017 Mar 30
2
Invoking lld for PE/COFF (Windows) linking
On 3/29/2017 1:38 PM, Reid Kleckner via llvm-dev wrote: > If clang is targeting VC++, then -fuse-ld=lld should be enough to make > it run lld-link.exe, and you won't need to set the flavor or do anything > special to get PE/COFF files. > > This example worked for me: > > $ cat t.cpp > #include <iostream> > int main() { std::cout << "hello
2017 Mar 31
3
Invoking lld for PE/COFF (Windows) linking
...indows-msvc -fmsc-version=1900 clang++ t.o -o t.exe --target=x86_64-windows-msvc -fuse-ld=lld is not working for me. The first invocation works but the second just hangs and never completes. Should it work ? If not, how can I invoke the second to make it work properly ? > C:\src\llvm-project\build_mingw\bin\lld-link.exe: warning: t.o: > undefined symbol: _ZNSt8ios_base4InitC1Ev > C:\src\llvm-project\build_mingw\bin\lld-link.exe: warning: t.o: > undefined symbol: _ZNSt8ios_base4InitD1Ev > C:\src\llvm-project\build_mingw\bin\lld-link.exe: warning: t.o: > undefined symbol: __main >...