mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
Add Arch command for MingW (#16558)
This commit is contained in:
parent
675a1be975
commit
3175bf374d
@ -5821,9 +5821,16 @@ v -os linux .
|
||||
NB: Cross-compiling a windows binary on a linux machine requires the GNU C compiler for
|
||||
MinGW-w64 (targeting Win64) to first be installed.
|
||||
|
||||
For Ubuntu/Debian based distributions:
|
||||
```shell
|
||||
sudo apt-get install gcc-mingw-w64-x86-64
|
||||
```
|
||||
|
||||
For Arch based distributions:
|
||||
```shell
|
||||
sudo pacman -S mingw-w64-gcc
|
||||
```
|
||||
|
||||
(Cross compiling for macOS is temporarily not possible.)
|
||||
|
||||
If you don't have any C dependencies, that's all you need to do. This works even
|
||||
|
Loading…
Reference in New Issue
Block a user