wclang
wclang copied to clipboard
Cross compile source code easily for Windows with clang on Linux/Unix
Hello. How better to solve this problem? /opt/wc390/bin/x86_64-w64-mingw32-clang++ -wc-help cannot find x86_64-w64-mingw32 C++ headers make sure x86_64-w64-mingw32 C++ headers are installed on your system svost@linux-63qq:~/src/AssemblyLoader> svost@linux-63qq:/usr/x86_64-w64-mingw32/sys-root/mingw> pwd /usr/x86_64-w64-mingw32/sys-root/mingw svost@linux-63qq:/usr/x86_64-w64-mingw32/sys-root/mingw> ls...
Could we get support for MSVC targets as well?
I have built `wclang` on Ubuntu 16.04 with LLVM 11, which is from http://apt.llvm.org But it can't build [SEH sample](https://docs.microsoft.com/en-us/cpp/cpp/structured-exception-handling-c-cpp?view=msvc-160#example) by: ```bash i686-w64-mingw32-clang -g -o seh.exe seh.c ``` ``` seh.c:29:5:...
Hello devs, Is wclang compatible with cross compiling to ARM/ARM64 Windows versions, or will it have a support for these architectures soon?
Requires `-fdwarf-exceptions` to link now

When I trying to compile a hello world using -fsanitize=address, clang is trying to search for a nonexistent files. ``` x86_64-w64-mingw32-clang -fsanitize=address hello-world.c hello-world.c:2:5: warning: implicitly declaring library function 'printf'...
Debian Wheezy is a very old release (oldoldstable) and has lost support from the Debian team. I don't think it should necessarily be supported by this project anymore. That would...
Hi there - I built a Docker container with clang set to default to using libc++ and compiler-rt, so when I run wclang, it too tries to use libc++ and...
The use of godot crosscompiled on Linux requires POSIX threading model. They suggest: ``` To use posix mode for mingw by default: $ sudo update-alternatives --config x86_64-w64-mingw32-gcc $ sudo update-alternatives...