Add fix for PPC32 and PPC64, MIPS64

This commit is contained in:
2021-05-08 15:07:13 +02:00
parent 8c18e4a7f1
commit 3a29b8bc69
8 changed files with 86 additions and 56 deletions

View File

@ -11,8 +11,8 @@ RUN apt-get update \
qemu-user-static \
&& apt-get clean --yes
# The CROSS_TRIPLE is a configured alias of the "mips64-unknown-linux-gnu" target.
ENV CROSS_TRIPLE mips64-unknown-linux-gnu
# The CROSS_TRIPLE is a configured alias of the "mips64el-unknown-linux-gnu" target.
ENV CROSS_TRIPLE mips64el-unknown-linux-gnu
ENV CROSS_ROOT ${XCC_PREFIX}/${CROSS_TRIPLE}
ENV AS=${CROSS_ROOT}/bin/${CROSS_TRIPLE}-as \

View File

@ -2,7 +2,7 @@ set(CMAKE_SYSTEM_NAME Linux)
set(CMAKE_SYSTEM_VERSION 1)
set(CMAKE_SYSTEM_PROCESSOR mips64)
set(cross_triple "mips64-unknown-linux-gnu")
set(cross_triple "mips64el-unknown-linux-gnu")
set(cross_root /usr/xcc/${cross_triple})
set(CMAKE_C_COMPILER $ENV{CC})