@@ -26,7 +26,7 @@ By default the working directory is `/root/src`.
26
26
docker run --rm \
27
27
--volume " ${PWD} /sample" :/root/src \
28
28
--workdir /root/src \
29
- joseluisq/rust-linux-darwin-builder:1.53 .0 \
29
+ joseluisq/rust-linux-darwin-builder:1.54 .0 \
30
30
sh -c " cargo build --release"
31
31
```
32
32
@@ -36,7 +36,7 @@ docker run --rm \
36
36
docker run --rm \
37
37
--volume " ${PWD} /sample" :/root/src \
38
38
--workdir /root/src \
39
- joseluisq/rust-linux-darwin-builder:1.53 .0 \
39
+ joseluisq/rust-linux-darwin-builder:1.54 .0 \
40
40
sh -c " cargo build --release --target x86_64-apple-darwin"
41
41
```
42
42
@@ -45,7 +45,7 @@ docker run --rm \
45
45
You can also use the image as a base for your own Dockerfile:
46
46
47
47
``` Dockerfile
48
- FROM joseluisq/rust-linux-darwin-builder:1.53 .0
48
+ FROM joseluisq/rust-linux-darwin-builder:1.54 .0
49
49
```
50
50
51
51
### OSXCross
@@ -54,22 +54,22 @@ You can also use o32-clang(++) and o64-clang(++) like a normal compiler.
54
54
55
55
__ Notes:__
56
56
57
- - The current * 11.1 SDK* does not support i386 anymore. Use <= 10.13 SDK if you rely on i386 support.
58
- - The current * 11.1 SDK* does not support libstdc++ anymore. Use <= 10.13 SDK if you rely on libstdc++ support.
57
+ - The current * 11.3 SDK* does not support i386 anymore. Use <= 10.13 SDK if you rely on i386 support.
58
+ - The current * 11.3 SDK* does not support libstdc++ anymore. Use <= 10.13 SDK if you rely on libstdc++ support.
59
59
60
60
Examples:
61
61
62
62
``` sh
63
63
Example usage:
64
64
65
- Example 1: CC=o32-clang ./configure --host=i386-apple-darwin20.2
66
- Example 2: CC=i386-apple-darwin20.2 -clang ./configure --host=i386-apple-darwin20.2
65
+ Example 1: CC=o32-clang ./configure --host=i386-apple-darwin20.4
66
+ Example 2: CC=i386-apple-darwin20.4 -clang ./configure --host=i386-apple-darwin20.4
67
67
Example 3: o64-clang -Wall test.c -o test
68
- Example 4: x86_64-apple-darwin20.2 -strip -x test
68
+ Example 4: x86_64-apple-darwin20.4 -strip -x test
69
69
70
- !!! Use aarch64-apple-darwin20.2 -* instead of arm64-* when dealing with Automake !!!
71
- !!! CC=aarch64-apple-darwin20.2 -clang ./configure --host=aarch64-apple-darwin20.2 !!!
72
- !!! CC=" aarch64-apple-darwin20.2 -clang -arch arm64e" ./configure --host=aarch64-apple-darwin20.2 !!!
70
+ !!! Use aarch64-apple-darwin20.4 -* instead of arm64-* when dealing with Automake !!!
71
+ !!! CC=aarch64-apple-darwin20.4 -clang ./configure --host=aarch64-apple-darwin20.4 !!!
72
+ !!! CC=" aarch64-apple-darwin20.4 -clang -arch arm64e" ./configure --host=aarch64-apple-darwin20.4 !!!
73
73
```
74
74
75
75
### Cross-compilation example
0 commit comments