A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://doc.rust-lang.org/nightly/rustc/platform-support/powerpc64-unknown-linux-musl.html below:

unknown-linux-musl - The rustc book

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

powerpc64-unknown-linux-musl

Tier: 3

Target for 64-bit big endian PowerPC Linux programs using musl libc. This target uses the ELF v2 ABI.

Target maintainers

@Gelbpunkt @famfo @neuschaefer

Requirements

Building the target itself requires a 64-bit big endian PowerPC compiler that is supported by cc-rs.

Building the target

The target can be built by enabling it for a rustc build.

[build]
target = ["powerpc64-unknown-linux-musl"]

Make sure your C compiler is included in $PATH, then add it to the bootstrap.toml:

[target.powerpc64-unknown-linux-musl]
cc = "powerpc64-linux-musl-gcc"
cxx = "powerpc64-linux-musl-g++"
ar = "powerpc64-linux-musl-ar"
linker = "powerpc64-linux-musl-gcc"
Building Rust programs

Rust does not yet ship pre-compiled artifacts for this target. To compile for this target, you will first need to build Rust with the target enabled (see "Building the target" above).

Cross-compilation

This target can be cross-compiled from any host.

Testing

This target can be tested as normal with x.py on a 64-bit big endian PowerPC host or via QEMU emulation.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4