[PATCH 4/4] configure: Try using explicit target option for cross compiling.

Jacek Caban jacek at codeweavers.com
Wed Mar 4 11:05:22 CST 2020


On 04.03.2020 17:15, Jacek Caban wrote:
> Signed-off-by: Jacek Caban <jacek at codeweavers.com>
> ---
>  configure.ac | 14 ++++++++++++++
>  1 file changed, 14 insertions(+)


FWIW, we don't automatically look for clang yet, but with this it's 
possible to use plain clang with something like ./configure 
CROSSCC=clang. Such clang needs also a bunch of llvm tools (most notably 
lld) and some form of cross compiled libgcc or compiler-rt. I use clang 
from llvm-mingw, so it's something like ./configure CROSSCC=clang 
CROSSLDFLAGS=-rtlib=compiler-rt for me. This is an alternative, but if 
you have llvm-mingw wrappers installed, regular configure will find and 
use it just like it does now.


Jacek





More information about the wine-devel mailing list