Problem building from ARM64
Martin Storsjö
martin at martin.st
Mon Mar 11 04:31:43 CDT 2019
On Sun, 10 Mar 2019, Carlo B. wrote:
> I know, but none of available binaries seems to be made as cross
> compiler and actually I wanted to avoid to build this huge thing
> myself.
Clang is always operating as a cross compiler; it can target any
architecture/OS that was enabled at build time (and those official
releases support all architectures).
I'm building wine with clang, with a normal GCC cross sysroot for the
headers/libs, like this:
CC="clang -target aarch64-linux-gnu
--sysroot=/home/martin/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux/aarch64-linux-gnu/libc
-gcc-toolchain /home/martin/gcc-linaro-aarch64-linux-gnu-4.9-2014.09_linux"
../wine/configure --prefix=/home/martin/code/wine-arm64
--host=aarch64-linux-gnu --with-wine-tools=/home/martin/code/wine-build
--without-x --without-freetype --enable-win64
// Martin
More information about the wine-devel
mailing list