On 22.01.2021 15:18, Martin Storsjö wrote:
On Fri, 22 Jan 2021, Jacek Caban wrote:
Signed-off-by: Jacek Caban jacek@codeweavers.com
FWIW, depending on distro, building in this mode may be as easy as adding CROSSCC=clang to configure.
Regarding this, iirc it requires clang, lld-link and llvm-dlltool. The former two are easily available, but at least in ubuntu packages, the latter is only available in version-suffixed form as llvm-dlltool-7 or so.(I guess I should try to figure out whom to poke to get it available unsuffixed.) But maybe it's more available in other distros.
Yeah, it sounds like an Ubuntu bug, it's probably just missing a symlink. If there is reason for llvm-dlltool to be problematic, we may try to use llvm-lib (or maybe even let lld-link do that for us).
Thanks,
Jacek