Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit e337d87

Browse files
committedMar 10, 2025
Add powerpc64le maintainers
1 parent 98a4878 commit e337d87

File tree

3 files changed

+49
-1
lines changed

3 files changed

+49
-1
lines changed
 

‎src/doc/rustc/src/SUMMARY.md

+1
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,7 @@
7272
- [powerpc-unknown-linux-gnuspe](platform-support/powerpc-unknown-linux-gnuspe.md)
7373
- [powerpc-unknown-linux-muslspe](platform-support/powerpc-unknown-linux-muslspe.md)
7474
- [powerpc64-ibm-aix](platform-support/aix.md)
75+
- [powerpc64le-unknown-linux-gnu](platform-support/powerpc64le-unknown-linux-gnu.md)
7576
- [powerpc64le-unknown-linux-musl](platform-support/powerpc64le-unknown-linux-musl.md)
7677
- [riscv32e\*-unknown-none-elf](platform-support/riscv32e-unknown-none-elf.md)
7778
- [riscv32i\*-unknown-none-elf](platform-support/riscv32-unknown-none-elf.md)

‎src/doc/rustc/src/platform-support.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ target | notes
9696
[`loongarch64-unknown-linux-musl`](platform-support/loongarch-linux.md) | LoongArch64 Linux, LP64D ABI (kernel 5.19, musl 1.2.5)
9797
`powerpc-unknown-linux-gnu` | PowerPC Linux (kernel 3.2, glibc 2.17)
9898
`powerpc64-unknown-linux-gnu` | PPC64 Linux (kernel 3.2, glibc 2.17)
99-
`powerpc64le-unknown-linux-gnu` | PPC64LE Linux (kernel 3.10, glibc 2.17)
99+
[`powerpc64le-unknown-linux-gnu`](platform-support/powerpc64le-unknown-linux-gnu.md) | PPC64LE Linux (kernel 3.10, glibc 2.17)
100100
[`powerpc64le-unknown-linux-musl`](platform-support/powerpc64le-unknown-linux-musl.md) | PPC64LE Linux (kernel 4.19, musl 1.2.3)
101101
[`riscv64gc-unknown-linux-gnu`](platform-support/riscv64gc-unknown-linux-gnu.md) | RISC-V Linux (kernel 4.20, glibc 2.29)
102102
[`riscv64gc-unknown-linux-musl`](platform-support/riscv64gc-unknown-linux-musl.md) | RISC-V Linux (kernel 4.20, musl 1.2.3)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# `powerpc64le-unknown-linux-gnu`
2+
3+
**Tier: 2**
4+
5+
Target for 64-bit little endian PowerPC Linux programs
6+
7+
## Target maintainers
8+
9+
- David Tenty `daltenty@ibm.com`, https://github.com/daltenty
10+
- Chris Cambly, `ccambly@ca.ibm.com`, https://github.com/gilamn5tr
11+
12+
## Requirements
13+
14+
Building the target itself requires a 64-bit little endian PowerPC compiler that is supported by `cc-rs`.
15+
16+
## Building the target
17+
18+
The target can be built by enabling it for a `rustc` build.
19+
20+
```toml
21+
[build]
22+
target = ["powerpc64le-unknown-linux-gnu"]
23+
```
24+
25+
Make sure your C compiler is included in `$PATH`, then add it to the `config.toml`:
26+
27+
```toml
28+
[target.powerpc64le-unknown-linux-gnu]
29+
cc = "powerpc64le-linux-gnu-gcc"
30+
cxx = "powerpc64le-linux-gnu-g++"
31+
ar = "powerpc64le-linux-gnu-ar"
32+
linker = "powerpc64le-linux-gnu-gcc"
33+
```
34+
35+
## Building Rust programs
36+
37+
This target is distributed through `rustup`, and requires no special
38+
configuration.
39+
40+
## Cross-compilation
41+
42+
This target can be cross-compiled from any host.
43+
44+
## Testing
45+
46+
This target can be tested as normal with `x.py` on a 64-bit little endian
47+
PowerPC host or via QEMU emulation.

0 commit comments

Comments
 (0)
Failed to load comments.