Commit 99913c5
committed
Auto merge of #38401 - redox-os:redox_cross, r=brson
Redox Cross Compilation
I will admit - there are things here that I wish I did not have to do. This completes the ability to create a cross compiler from the rust repository for `x86_64-unknown-redox`. I will document this PR with inline comments explaining some things.
[View this gist to see how a cross compiler is built](https://gist.github.com/jackpot51/6680ad973986e84d69c79854249f2b7e)
Prior discussion of a smaller change is here: #38366File tree
39 files changed
+1439
-42
lines changed- mk/cfg
- src
- liballoc_jemalloc
- liballoc_system
- libcompiler_builtins
- librustc_back/target
- librustc/session
- libstd
- sys/redox
- ext
- net
- syscall
- arch
- libtest
39 files changed
+1439
-42
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
36 | 36 | | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
71 | 71 | | |
72 | 72 | | |
73 | 73 | | |
74 | | - | |
| 74 | + | |
75 | 75 | | |
76 | 76 | | |
77 | 77 | | |
| |||
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
90 | | - | |
| 90 | + | |
91 | 91 | | |
92 | 92 | | |
93 | 93 | | |
| |||
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | | - | |
| 112 | + | |
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
242 | 242 | | |
243 | 243 | | |
244 | 244 | | |
245 | | - | |
| 245 | + | |
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
| |||
- .travis.yml+3-3
- ci/docker/mipsel-unknown-linux-musl/Dockerfile+4-1
- ci/dox.sh+1-1
- libc-test/build.rs+2-2
- src/redox.rs+4
- src/unix/bsd/freebsdlike/dragonfly/mod.rs+65-4
- src/unix/bsd/freebsdlike/freebsd/mod.rs+50
- src/unix/bsd/freebsdlike/mod.rs-47
- src/unix/bsd/mod.rs+6
- src/unix/bsd/netbsdlike/mod.rs+2
- src/unix/bsd/netbsdlike/netbsd/other/mod.rs+2-1
- src/unix/haiku/mod.rs+7
- src/unix/notbsd/android/mod.rs+6
- src/unix/notbsd/linux/mips/mips32.rs+6
- src/unix/notbsd/linux/mips/mips64.rs+6
- src/unix/notbsd/linux/mod.rs+25
- src/unix/notbsd/linux/musl/b32/mod.rs+6
- src/unix/notbsd/linux/musl/b64/mod.rs+7
- src/unix/notbsd/linux/other/mod.rs+6
- src/unix/notbsd/linux/s390x.rs+6
- src/unix/notbsd/mod.rs+4-1
- src/unix/solaris/mod.rs+7
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
945 | 945 | | |
946 | 946 | | |
947 | 947 | | |
948 | | - | |
949 | | - | |
950 | | - | |
951 | | - | |
952 | | - | |
953 | | - | |
954 | | - | |
955 | | - | |
956 | 948 | | |
957 | 949 | | |
958 | 950 | | |
959 | | - | |
| 951 | + | |
| 952 | + | |
| 953 | + | |
| 954 | + | |
| 955 | + | |
| 956 | + | |
960 | 957 | | |
961 | 958 | | |
962 | 959 | | |
963 | 960 | | |
964 | 961 | | |
965 | | - | |
966 | | - | |
967 | | - | |
968 | 962 | | |
969 | 963 | | |
970 | 964 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
37 | 37 | | |
38 | 38 | | |
39 | 39 | | |
| 40 | + | |
40 | 41 | | |
41 | 42 | | |
42 | 43 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
0 commit comments