Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
VLC
Manage
Activity
Members
Labels
Plan
Issues
4k
Issue boards
Milestones
Code
Merge requests
450
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
VideoLAN
VLC
Commits
fef56a22
Commit
fef56a22
authored
1 year ago
by
johnddx
Committed by
Steve Lhomme
1 year ago
Browse files
Options
Downloads
Patches
Plain Diff
Update BUILD-win32.md: Fix guidance around toolchain.sh
parent
fd7e823c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
1 merge request
!3438
Update BUILD-win32.md: Fix guidance around toolchain.sh
Pipeline
#346919
passed with stage
in 31 minutes and 26 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/BUILD-win32.md
+18
-7
18 additions, 7 deletions
doc/BUILD-win32.md
with
18 additions
and
7 deletions
doc/BUILD-win32.md
+
18
−
7
View file @
fef56a22
...
...
@@ -70,26 +70,37 @@ should go with the `msvcrt` version. The official VLC builds use `msvcrt` for de
```
sh
wget https://github.com/mstorsjo/llvm-mingw/releases/download/20220906/llvm-mingw-20220906-msvcrt-ubuntu-18.04-x86_64.tar.xz
tar
xvf llvm-mingw-20220906-msvcrt-ubuntu-18.04-x86_64.tar.xz
-C
/opt
export
PATH
=
/opt/llvm-mingw-20220906-msvcrt-ubuntu-18.04-x86_64/bin:
$PATH
```
Every time you build VLC, you will need to have the toolchain in your PATH.
We recommend creating a script file to do this, so that you can call
it when you start your build sesson:
```
sh
echo
'export PATH=/opt/llvm-mingw-20220906-msvcrt-ubuntu-18.04-x86_64/bin:$PATH'
>
toolchain.sh
```
You will need to call this file when you start your build session:
```
sh
source
toolchain.sh
```
*
On msys2,
**use the mingw64 (blue) environment**
(ie not msys (purple) the or mingw32 (grey) environments):
```
sh
wget https://github.com/mstorsjo/llvm-mingw/releases/download/20220906/llvm-mingw-20220906-msvcrt-x86_64.zip
unzip llvm-mingw-20220906-msvcrt-x86_64.zip
-d
/opt
export
PATH
=
/opt/llvm-mingw-20220906-msvcrt-x86_64/bin:
$PATH
```
Every time you build VLC, you will need to have the toolchain in your PATH.
A convenient way to setup your environment is to set command in a file
an
d
call
Every time you build VLC, you will need to have the toolchain in your PATH.
We recommend creating a script file to do this, so that you c
an call
it when you start your build sesson:
Create toolchain.sh:
```
sh
cat
export
PATH
=
/opt/llvm-mingw-20220906-msvcrt-x86_64/bin:
$PATH
>
toolchain.sh
echo
'
export PATH=/opt/llvm-mingw-20220906-msvcrt-x86_64/bin:$PATH
'
>
toolchain.sh
```
Use toolchain.sh to set the path to your compiler:
You will need to call this file when you start your build session:
```
sh
source
toolchain.sh
```
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment