I was trying to compile under linux for windows. I have installed binutils multilib for linux and w64-mingw. If I compile with x86_64-w64-mingw-gcc everything work, but if I use clang with -target x86_64-w64-mingw or x86_64-windows-gnu compiler give me lots of warnings and a include error for windows.h.
What is the problem? Clang does not support mingw binutils?
P.S. I also are interested in cross-compilig for freebsd, where can I found binutils for targeting freebsd?
Thank you very much in advance :)