unknown-linux-gnu - The rustc book (original) (raw)
Keyboard shortcuts
Press ← or → to navigate between chapters
Press S or / to search in the book
Press ? to show this help
Press Esc to hide this help
The rustc book
mipsel-unknown-linux-gnu
Tier: 3
Little-endian 32 bit MIPS for Linux with `glibc.
Target maintainers
Requirements
The target supports std on Linux. Host tools are supported but not tested.
Building the target
For cross compilation the GNU C compiler for the mipsel architecture needs to be installed. On Ubuntu install the packets: gcc-mipsel-linux-gnu andg++-mipsel-linux-gnu.
Add mipsel-unknown-linux-gnu as target list in config.toml.
Building Rust programs
Rust does not ship pre-compiled artifacts for this target. To compile for this target, you will need to build Rust with the target enabled (see "Building the target" above).