Skip to content

Commit a99f3fd

Browse files
committed
cross compilation support
1 parent 42b8714 commit a99f3fd

File tree

21 files changed

+647
-303
lines changed

21 files changed

+647
-303
lines changed

README.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,26 +13,37 @@ erased by the script (see `maybe_clean_module` function).
1313
Usage:
1414
-----
1515

16+
To do a non-cross-compile build:
17+
1618
```
1719
$ ./build.sh
1820
```
1921

20-
Build for Mac x86 on Mac Arm:
22+
5 supported targets:
23+
24+
- `linux-x86_64`
25+
- `linux-i686`
26+
- `windows-x86_64`
27+
- `windows-i686`
28+
- `mac-x86_64`
29+
- `mac-arm64`
2130

2231
```
23-
$ arch -x86_64 ./build.sh
32+
$ ./build.sh <target>
2433
```
2534

26-
Compilation result will be under the `dist/ffmpeg` directory.
35+
Compilation result will be under the `dist/<os>/<arch>/ffmpeg` directory.
2736
To rebuild a dependency or ffmpeg itself, `rm -rf` the relevant
28-
directory in `dist`.
37+
directory in `dist/<o>/<target>/`.
2938

3039
Todo:
3140
----
32-
- Windows, Mac Intel
41+
- Windows i686
42+
- Linux i686
43+
- Mac Intel
44+
- Tests
3345
- test MP3 support (no lame?)
34-
- remove dependency on libc++ (x265)
35-
- no ffplay
46+
- remove dependency on libc++ (x265) and libvdso (linux)
3647
- re-enable xvid: --enable-libxvid
3748
- --enable-sdl2 --enable-ffplay
38-
49+
- presets? dist/windows/i686/ffmpeg/share/ffmpeg/

0 commit comments

Comments
 (0)