File tree Expand file tree Collapse file tree 4 files changed +58
-0
lines changed
mips64-unknown-linux-gnuabi64
mips64el-unknown-linux-gnuabi64
mipsel-unknown-linux-musl Expand file tree Collapse file tree 4 files changed +58
-0
lines changed Original file line number Diff line number Diff line change
1
+ FROM ubuntu:17.10
2
+
3
+ RUN apt-get update && apt-get install -y --no-install-recommends \
4
+ gcc libc6-dev qemu-user ca-certificates \
5
+ gcc-mips-linux-gnu libc6-dev-mips-cross \
6
+ qemu-system-mips \
7
+ qemu-user \
8
+ make \
9
+ file
10
+
11
+ ENV CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_LINKER=mips-linux-gnu-gcc \
12
+ CARGO_TARGET_MIPS_UNKNOWN_LINUX_GNU_RUNNER="qemu-mips -L /usr/mips-linux-gnu" \
13
+ OBJDUMP=mips-linux-gnu-objdump
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:17.10
2
+
3
+ RUN apt-get update && apt-get install -y --no-install-recommends \
4
+ gcc libc6-dev qemu-user ca-certificates \
5
+ gcc-mips64-linux-gnuabi64 libc6-dev-mips64-cross \
6
+ qemu-system-mips64 qemu-user
7
+
8
+ ENV CARGO_TARGET_MIPS64_UNKNOWN_LINUX_GNUABI64_LINKER=mips64-linux-gnuabi64-gcc \
9
+ CARGO_TARGET_MIPS64_UNKNOWN_LINUX_GNUABI64_RUNNER="qemu-mips64 -L /usr/mips64-linux-gnuabi64" \
10
+ OBJDUMP=mips64-linux-gnuabi64-objdump
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:17.10
2
+
3
+ RUN apt-get update && apt-get install -y --no-install-recommends \
4
+ gcc libc6-dev qemu-user ca-certificates \
5
+ gcc-mips64el-linux-gnuabi64 libc6-dev-mips64el-cross \
6
+ qemu-system-mips64el
7
+
8
+ ENV CARGO_TARGET_MIPS64EL_UNKNOWN_LINUX_GNUABI64_LINKER=mips64el-linux-gnuabi64-gcc \
9
+ CARGO_TARGET_MIPS64EL_UNKNOWN_LINUX_GNUABI64_RUNNER="qemu-mips64el -L /usr/mips64el-linux-gnuabi64" \
10
+ OBJDUMP=mips64el-linux-gnuabi64-objdump
Original file line number Diff line number Diff line change
1
+ FROM ubuntu:18.10
2
+
3
+ RUN apt-get update && \
4
+ apt-get install -y --no-install-recommends \
5
+ ca-certificates \
6
+ gcc \
7
+ libc6-dev \
8
+ make \
9
+ qemu-user \
10
+ qemu-system-mips \
11
+ bzip2 \
12
+ curl \
13
+ file
14
+
15
+ RUN mkdir /toolchain
16
+
17
+ # Note that this originally came from:
18
+ # https://downloads.openwrt.org/snapshots/trunk/malta/generic/OpenWrt-Toolchain-malta-le_gcc-5.3.0_musl-1.1.15.Linux-x86_64.tar.bz2
19
+ RUN curl -L https://s3-us-west-1.amazonaws.com/rust-lang-ci2/libc/OpenWrt-Toolchain-malta-le_gcc-5.3.0_musl-1.1.15.Linux-x86_64.tar.bz2 | \
20
+ tar xjf - -C /toolchain --strip-components=2
21
+
22
+ ENV PATH=$PATH:/rust/bin:/toolchain/bin \
23
+ CC_mipsel_unknown_linux_musl=mipsel-openwrt-linux-gcc \
24
+ CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_MUSL_LINKER=mipsel-openwrt-linux-gcc \
25
+ CARGO_TARGET_MIPSEL_UNKNOWN_LINUX_MUSL_RUNNER="qemu-mipsel -L /toolchain"
You can’t perform that action at this time.
0 commit comments