... | @@ -104,7 +104,7 @@ libgnutls28-dev libidn-dev liblua5.2-dev libxml2-dev |
... | @@ -104,7 +104,7 @@ libgnutls28-dev libidn-dev liblua5.2-dev libxml2-dev |
|
libavformat-dev libswscale-dev liba52-dev
|
|
libavformat-dev libswscale-dev liba52-dev
|
|
gdb
|
|
gdb
|
|
```
|
|
```
|
|
Then build:
|
|
Then clone VLC and build:
|
|
```
|
|
```
|
|
% mkdir -p build
|
|
% mkdir -p build
|
|
% cd build
|
|
% cd build
|
... | @@ -120,7 +120,7 @@ Then build: |
... | @@ -120,7 +120,7 @@ Then build: |
|
|
|
|
|
### Cross-compilation
|
|
### Cross-compilation
|
|
|
|
|
|
Cross-compilation to 64-bit RISC-V is fully supported.
|
|
Cross-compilation to 64-bit RISC-V is fully supported with the GCC toolchain.
|
|
See also https://www.remlab.net/op/vlc-riscv-1.shtml
|
|
See also https://www.remlab.net/op/vlc-riscv-1.shtml
|
|
|
|
|
|
Note however that some essential modules cannot easily be built in such setup,
|
|
Note however that some essential modules cannot easily be built in such setup,
|
... | @@ -129,7 +129,6 @@ Also Simple ALSA (SALSA) will be used instead of the fully fledged ALSA. |
... | @@ -129,7 +129,6 @@ Also Simple ALSA (SALSA) will be used instead of the fully fledged ALSA. |
|
|
|
|
|
Assuming you have cloned VLC in the current directory and have installed all tools for a native VLC build:
|
|
Assuming you have cloned VLC in the current directory and have installed all tools for a native VLC build:
|
|
```
|
|
```
|
|
% apt-get install g++-riscv64-linux-gnu
|
|
|
|
% mkdir -p contribs/riscv riscv
|
|
% mkdir -p contribs/riscv riscv
|
|
% cd contribs/riscv
|
|
% cd contribs/riscv
|
|
% ../bootstrap --host=riscv64-linux-gnu
|
|
% ../bootstrap --host=riscv64-linux-gnu
|
... | | ... | |