1
0
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:
Christopher Fore 2022-11-29 17:17:34 -05:00 committed by GitHub
parent 675a1be975
commit 3175bf374d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5821,9 +5821,16 @@ v -os linux .
NB: Cross-compiling a windows binary on a linux machine requires the GNU C compiler for NB: Cross-compiling a windows binary on a linux machine requires the GNU C compiler for
MinGW-w64 (targeting Win64) to first be installed. MinGW-w64 (targeting Win64) to first be installed.
For Ubuntu/Debian based distributions:
```shell ```shell
sudo apt-get install gcc-mingw-w64-x86-64 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.) (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 If you don't have any C dependencies, that's all you need to do. This works even