https://bugs.winehq.org/show_bug.cgi?id=51794
Bug ID: 51794 Summary: Implement wineclang - a wrapper around clang to build software with winelib Product: Wine Version: 6.17 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: winelib Assignee: wine-bugs@winehq.org Reporter: kolan_n@mail.ru Distribution: ---
A user should be able to configure which stock clang (i.e. one default in the distro, or the latest one from the official repos) and which MinGW target and which sysroot to use. I.e. if I have a CMake toolchain file for cross-compilation for Windows 64-bit with clang-14 using MinGW-w64 stdlib installed from Ubuntu packages, then I should be able to just slightly modify it in order to get native compilation via wine-gcc the following way:
1. replace clang compilers with wineclang 2. provide wineclang with arguments pointing to real clang binaries I want to use.
Probably it should be unified with winegcc/wineg++ and renamed into winecompiler, which should be symlinked to winegcc/wineg++/wineclang/wineclang++.