Ahmed Taj elsir
2015-Feb-27 07:21 UTC
[LLVMdev] clang\clang++ 3.6.0 don't find C\C++ header , in windows ?
1 hour ago I downloaded llvm-3.6.0-rc4-win32.exe from http://llvm.org/pre-releases/3.6.0/ . I tried to compile simple C code that just print "hello" , but it didn't compile , because clang.exe can't find . when I use clang-cl.exe with the same code , it worked . I also have the same problem with clang++ even with , I add -I flag to GCC (4.9.1) C++ headers , the result:>C:\Users\One\Desktop>clang++ -I c:\MinGW\x86_64-w64-mingw32\include\c++ >main.cpp -lib=libstdc++>In file included from main.cpp:1: >c:\MinGW\x86_64-w64-mingw32\include\c++\iostream:38:10: fatal >error:'bits/c++config.h' file not found>#include <bits/c++config.h> >1 error generated.I found bits/c++config.h in MinGW folders I add it to the -I flag and other . I result a link error : C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lib=libstdc++ C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1//libstdc++.dll.a when searching for -lstdc+ C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1//libstdc++.a when searching for -lstdc++ C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/\libstdc++.a when searching for -lstdc++ C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/libstdc++.dll.a when searching for -lstdc++ C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/libstdc++.a when searching for -lstdc++ C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1\libstdc++.a when searching for -lstdc++ C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1//libstdc++.dll.a when searching for -lstdc++ C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1//libstdc++.a when searching for -lstdc++ C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/libstdc++.dll.a when searching for -lstdc++ C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/libstdc++.a when searching for -lstdc++ C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lstdc++ C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmingw32.a when searching for -lmingw32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libmingw32.a when searching for -lmingw32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmingw32.a when searching for -lmingw32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lmingw32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libgcc_s.a when searching for -lgcc_s C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libgcc_s.a when searching for -lgcc_s C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libgcc_s.a when searching for -lgcc_s C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lgcc_s C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1//libgcc.a when searching for -lgcc C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/\libgcc.a when searching for -lgcc C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/libgcc.a when searching for -lgcc C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1\libgcc.a when searching for -lgcc C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1//libgcc.a when searching for -lgcc C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/libgcc.a when searching for -lgcc C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lgcc C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmoldname.a when searching for -lmoldnam e C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libmoldname.a when searching for -lmoldnam e C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmoldname.a when searching for -lmoldnam e C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lmoldname C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmingwex.a when searching for -lmingwex C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libmingwex.a when searching for -lmingwex C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmingwex.a when searching for -lmingwex C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lmingwex C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmsvcrt.a when searching for -lmsvcrt C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libmsvcrt.a when searching for -lmsvcrt C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmsvcrt.a when searching for -lmsvcrt C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lmsvcrt C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libpthread.dll.a when searching for -lpthr ead C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libpthread.a when searching for -lpthread C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libpthread.a when searching for -lpthread C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libpthread.dll.a when searching for -lpthr ead C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libpthread.a when searching for -lpthread C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lpthread C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libadvapi32.a when searching for -ladvapi3 2 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libadvapi32.a when searching for -ladvapi3 2 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libadvapi32.a when searching for -ladvapi3 2 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -ladvapi32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libshell32.a when searching for -lshell32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libshell32.a when searching for -lshell32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libshell32.a when searching for -lshell32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lshell32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libuser32.a when searching for -luser32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libuser32.a when searching for -luser32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libuser32.a when searching for -luser32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -luser32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libkernel32.a when searching for -lkernel3 2 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libkernel32.a when searching for -lkernel3 2 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libkernel32.a when searching for -lkernel3 2 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lkernel32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libiconv.a when searching for -liconv C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libiconv.a when searching for -liconv C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libiconv.a when searching for -liconv C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -liconv C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmingw32.a when searching for -lmingw32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libmingw32.a when searching for -lmingw32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmingw32.a when searching for -lmingw32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lmingw32 C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libgcc_s.a when searching for -lgcc_s C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libgcc_s.a when searching for -lgcc_s C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libgcc_s.a when searching for -lgcc_s C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lgcc_s C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1//libgcc.a when searching for -lgcc C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/\libgcc.a when searching for -lgcc C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/libgcc.a when searching for -lgcc C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1\libgcc.a when searching for -lgcc C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1//libgcc.a when searching for -lgcc C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/libgcc.a when searching for -lgcc C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lgcc C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmoldname.a when searching for -lmoldnam e C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libmoldname.a when searching for -lmoldnam e C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmoldname.a when searching for -lmoldnam e C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lmoldname C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmingwex.a when searching for -lmingwex C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libmingwex.a when searching for -lmingwex C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmingwex.a when searching for -lmingwex C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lmingwex C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmsvcrt.a when searching for -lmsvcrt C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib\libmsvcrt.a when searching for -lmsvcrt C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: skipping incompatible C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 .1/../../../../x86_64-w64-mingw32/lib/libmsvcrt.a when searching for -lmsvcrt C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ bin/ld.exe: cannot find -lmsvcrt collect2.exe: error: ld returned 1 exit status clang++.exe: error: linker (via gcc) command failed with exit code 1 (use -v to see invocation)
Reid Kleckner
2015-Feb-27 18:39 UTC
[LLVMdev] clang\clang++ 3.6.0 don't find C\C++ header , in windows ?
This sounds like fallout from the fact that we don't have mingw64 support in the driver. Last I recall, someone sent patches for review, we made suggestions, and the author never followed up. You'll have to add -isystem and -L flags as a workaround until the situation improves. On Thu, Feb 26, 2015 at 11:21 PM, Ahmed Taj elsir <meedo456123 at gmail.com> wrote:> 1 hour ago I downloaded llvm-3.6.0-rc4-win32.exe from > http://llvm.org/pre-releases/3.6.0/ . > > I tried to compile simple C code that just print "hello" , but it > didn't compile , because clang.exe can't find . when I use > clang-cl.exe with the same code , it worked . > > I also have the same problem with clang++ even with , I add -I flag to > GCC (4.9.1) C++ headers , the result: > > >C:\Users\One\Desktop>clang++ -I c:\MinGW\x86_64-w64-mingw32\include\c++ > >main.cpp -lib=libstdc++ > > >In file included from main.cpp:1: > >c:\MinGW\x86_64-w64-mingw32\include\c++\iostream:38:10: fatal > >error:'bits/c++config.h' file not found > > >#include <bits/c++config.h> > >1 error generated. > > I found bits/c++config.h in MinGW folders I add it to the -I flag and > other . > > I result a link error : > > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lib=libstdc++ > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1//libstdc++.dll.a when searching for -lstdc+ > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1//libstdc++.a when searching for -lstdc++ > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/\libstdc++.a when searching for -lstdc++ > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/libstdc++.dll.a when searching for -lstdc++ > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/libstdc++.a when searching for -lstdc++ > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1\libstdc++.a when searching for -lstdc++ > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1//libstdc++.dll.a when searching for -lstdc++ > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1//libstdc++.a when searching for -lstdc++ > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/libstdc++.dll.a when searching for -lstdc++ > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/libstdc++.a when searching for -lstdc++ > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lstdc++ > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmingw32.a when searching > for -lmingw32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libmingw32.a when searching > for -lmingw32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmingw32.a when searching > for -lmingw32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lmingw32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libgcc_s.a when searching > for -lgcc_s > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libgcc_s.a when searching > for -lgcc_s > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libgcc_s.a when searching > for -lgcc_s > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lgcc_s > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1//libgcc.a when searching for -lgcc > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/\libgcc.a when searching for -lgcc > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/libgcc.a when searching for -lgcc > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1\libgcc.a when searching for -lgcc > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1//libgcc.a when searching for -lgcc > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/libgcc.a when searching for -lgcc > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lgcc > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmoldname.a when searching > for -lmoldnam > e > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libmoldname.a when searching > for -lmoldnam > e > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmoldname.a when searching > for -lmoldnam > e > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lmoldname > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmingwex.a when searching > for -lmingwex > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libmingwex.a when searching > for -lmingwex > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmingwex.a when searching > for -lmingwex > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lmingwex > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmsvcrt.a when searching > for -lmsvcrt > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libmsvcrt.a when searching > for -lmsvcrt > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmsvcrt.a when searching > for -lmsvcrt > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lmsvcrt > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libpthread.dll.a when > searching > for -lpthr > ead > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libpthread.a when searching > for -lpthread > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libpthread.a when searching > for -lpthread > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libpthread.dll.a when > searching > for -lpthr > ead > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libpthread.a when searching > for -lpthread > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lpthread > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libadvapi32.a when searching > for -ladvapi3 > 2 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libadvapi32.a when searching > for -ladvapi3 > 2 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libadvapi32.a when searching > for -ladvapi3 > 2 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -ladvapi32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libshell32.a when searching > for -lshell32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libshell32.a when searching > for -lshell32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libshell32.a when searching > for -lshell32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lshell32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libuser32.a when searching > for -luser32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libuser32.a when searching > for -luser32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libuser32.a when searching > for -luser32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -luser32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libkernel32.a when searching > for -lkernel3 > 2 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libkernel32.a when searching > for -lkernel3 > 2 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libkernel32.a when searching > for -lkernel3 > 2 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lkernel32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libiconv.a when searching > for -liconv > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libiconv.a when searching > for -liconv > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libiconv.a when searching > for -liconv > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -liconv > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmingw32.a when searching > for -lmingw32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libmingw32.a when searching > for -lmingw32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmingw32.a when searching > for -lmingw32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lmingw32 > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libgcc_s.a when searching > for -lgcc_s > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libgcc_s.a when searching > for -lgcc_s > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libgcc_s.a when searching > for -lgcc_s > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lgcc_s > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1//libgcc.a when searching for -lgcc > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/\libgcc.a when searching for -lgcc > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/libgcc.a when searching for -lgcc > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1\libgcc.a when searching for -lgcc > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1//libgcc.a when searching for -lgcc > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/libgcc.a when searching for -lgcc > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lgcc > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmoldname.a when searching > for -lmoldnam > e > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libmoldname.a when searching > for -lmoldnam > e > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmoldname.a when searching > for -lmoldnam > e > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lmoldname > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmingwex.a when searching > for -lmingwex > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libmingwex.a when searching > for -lmingwex > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmingwex.a when searching > for -lmingwex > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lmingwex > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmsvcrt.a when searching > for -lmsvcrt > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib\libmsvcrt.a when searching > for -lmsvcrt > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: skipping incompatible > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9 > .1/../../../../x86_64-w64-mingw32/lib/libmsvcrt.a when searching > for -lmsvcrt > > C:/MinGW/bin/../lib/gcc/x86_64-w64-mingw32/4.9.1/../../../../x86_64-w64-mingw32/ > bin/ld.exe: cannot find -lmsvcrt > collect2.exe: error: ld returned 1 exit status > clang++.exe: error: linker (via gcc) command failed with exit code > 1 (use -v to > see invocation) > _______________________________________________ > LLVM Developers mailing list > LLVMdev at cs.uiuc.edu http://llvm.cs.uiuc.edu > http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150227/8409ce77/attachment.html>
Apparently Analagous Threads
- [LLVMdev] How to compile llvm with mingw on Windows ?
- xapian core missing link to math on MSYS2
- [LLVMdev] MinGW 4.7.0-compiled Clang Mis-compiles Simple Programs
- [LLVMdev] X86ISelPattern.cpp:73: undefined reference to `X86CompilationCallback
- [LLVMdev] Linking executable error on Windows