summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorEmīls <emils@mullvad.net>2020-01-23 21:49:13 +0000
committerEmīls Piņķis <emils@mullvad.net>2020-01-24 11:28:22 +0000
commit3357d52a8da24f747d4c688e3b4f6df58742e11d (patch)
treef6701c9d55d93cd1417685276058f9e5cc35f65d
parent388f4d8811462524ad95cf685d6eaf915c6d5061 (diff)
downloadmullvadvpn-3357d52a8da24f747d4c688e3b4f6df58742e11d.tar.xz
mullvadvpn-3357d52a8da24f747d4c688e3b4f6df58742e11d.zip
Add gcc to CGo requirements in README.md
-rw-r--r--README.md5
1 files changed, 4 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6ccc942b37..99eaa1b923 100644
--- a/README.md
+++ b/README.md
@@ -94,6 +94,7 @@ The host has to have the following installed:
- `bash` installed as well as a few base unix utilities, including `sed` and `tail`.
The environment coming with [Git for Windows] works fine.
+- `gcc` for CGo.
[Git for Windows]: https://git-scm.com/download/win
@@ -238,7 +239,9 @@ storePassword = keystore-password
1. Install Go (ideally version `1.13.6`) by following the [official
instructions](https://golang.org/doc/install). Newer versions of Go may be used. Earlier
versions may be used, but versions older than `1.12` are known to not work, newer versions may
- too.
+ too. Since `cgo` is being used, make sure to have a C compiler in your path. [*On
+ Windows*](https://github.com/golang/go/wiki/cgo#windows) `mingw`'s `gcc` compiler should work.
+ `gcc` on most Linux distributions should work, and `clang` for MacOS.
## Building and packaging the app