3 files changed +49
-1
lines changed Original file line number Diff line number Diff line change 72
72
- [ powerpc-unknown-linux-gnuspe] ( platform-support/powerpc-unknown-linux-gnuspe.md )
73
73
- [ powerpc-unknown-linux-muslspe] ( platform-support/powerpc-unknown-linux-muslspe.md )
74
74
- [ powerpc64-ibm-aix] ( platform-support/aix.md )
75
+ - [ powerpc64le-unknown-linux-gnu] ( platform-support/powerpc64le-unknown-linux-gnu.md )
75
76
- [ powerpc64le-unknown-linux-musl] ( platform-support/powerpc64le-unknown-linux-musl.md )
76
77
- [ riscv32e\* -unknown-none-elf] ( platform-support/riscv32e-unknown-none-elf.md )
77
78
- [ riscv32i\* -unknown-none-elf] ( platform-support/riscv32-unknown-none-elf.md )
Original file line number Diff line number Diff line change @@ -96,7 +96,7 @@ target | notes
96
96
[ ` loongarch64-unknown-linux-musl ` ] ( platform-support/loongarch-linux.md ) | LoongArch64 Linux, LP64D ABI (kernel 5.19, musl 1.2.5)
97
97
` powerpc-unknown-linux-gnu ` | PowerPC Linux (kernel 3.2, glibc 2.17)
98
98
` 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)
100
100
[ ` powerpc64le-unknown-linux-musl ` ] ( platform-support/powerpc64le-unknown-linux-musl.md ) | PPC64LE Linux (kernel 4.19, musl 1.2.3)
101
101
[ ` riscv64gc-unknown-linux-gnu ` ] ( platform-support/riscv64gc-unknown-linux-gnu.md ) | RISC-V Linux (kernel 4.20, glibc 2.29)
102
102
[ ` riscv64gc-unknown-linux-musl ` ] ( platform-support/riscv64gc-unknown-linux-musl.md ) | RISC-V Linux (kernel 4.20, musl 1.2.3)
Original file line number Diff line number Diff line change
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