Add support for mips64le

This commit is contained in:
Tianon Gravi 2019-12-30 16:17:44 -08:00
parent e6a1422dd9
commit 1b6581761d
3 changed files with 10 additions and 0 deletions

View File

@ -16,6 +16,7 @@ RUN set -eux; \
libc6-dev-armel-cross \
libc6-dev-armhf-cross \
libc6-dev-i386-cross \
libc6-dev-mips64el-cross \
libc6-dev-ppc64el-cross \
libc6-dev-s390x-cross \
\
@ -23,6 +24,7 @@ RUN set -eux; \
gcc-arm-linux-gnueabi \
gcc-arm-linux-gnueabihf \
gcc-i686-linux-gnu \
gcc-mips64el-linux-gnuabi64 \
gcc-powerpc64le-linux-gnu \
gcc-s390x-linux-gnu \
\
@ -74,6 +76,11 @@ RUN set -ex; \
TARGET_ARCH='i386' \
CROSS_COMPILE='i686-linux-gnu-'
RUN set -ex; \
make clean all \
TARGET_ARCH='mips64le' \
CROSS_COMPILE='mips64el-linux-gnuabi64-'
RUN set -ex; \
make clean all \
TARGET_ARCH='ppc64le' \

View File

@ -0,0 +1,3 @@
FROM scratch
COPY hello /
CMD ["/hello"]

BIN
mips64le/hello-world/hello Executable file

Binary file not shown.