File tree Expand file tree Collapse file tree 1 file changed +47
-0
lines changed
src/doc/rustc/src/platform-support Expand file tree Collapse file tree 1 file changed +47
-0
lines changed 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
` [email protected] ` ,
https://github.com/daltenty
10
+ - Chris Cambly,
` [email protected] ` ,
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.
You can’t perform that action at this time.
0 commit comments