aboutsummaryrefslogtreecommitdiffstats
path: root/doc/src/guide/installation.asciidoc
diff options
context:
space:
mode:
authorLoïc Hoguin <[email protected]>2015-12-14 18:35:48 +0100
committerLoïc Hoguin <[email protected]>2015-12-14 18:37:56 +0100
commit4ea38e2319482b316a474d6fc82876e6fdcd7911 (patch)
tree56b8a02a842672d03e961e309dc6a4982f98d908 /doc/src/guide/installation.asciidoc
parent0f11e62b647c735bb13f957eeec9586be7e7b51a (diff)
downloaderlang.mk-4ea38e2319482b316a474d6fc82876e6fdcd7911.tar.gz
erlang.mk-4ea38e2319482b316a474d6fc82876e6fdcd7911.tar.bz2
erlang.mk-4ea38e2319482b316a474d6fc82876e6fdcd7911.zip
Fix compilation of NIFs on Windows
Thanks to two users of the ninenines/esdl2 project, a correct way to build NIFs on Windows has been found. At the moment we require a specific compiler (MingW's gcc). Maybe we can change this in the future and allow Visual Studio and others. Some small changes have been made to the documentation, and the meaning of one configuration variable has changed to not include the extension (which is decided automatically by Erlang.mk; and configurable separately). Enjoy!
Diffstat (limited to 'doc/src/guide/installation.asciidoc')
-rw-r--r--doc/src/guide/installation.asciidoc7
1 files changed, 7 insertions, 0 deletions
diff --git a/doc/src/guide/installation.asciidoc b/doc/src/guide/installation.asciidoc
index f03dafa..a271e2d 100644
--- a/doc/src/guide/installation.asciidoc
+++ b/doc/src/guide/installation.asciidoc
@@ -95,6 +95,13 @@ to find all packages related to GCC:
[source,bash]
$ pacman -Ss gcc
+If you are going to compile C/C++ code, you will need to
+install this package, as Erlang.mk cannot use the normal
+"gcc" package:
+
+[source,bash]
+$ pacman -S mingw-w64-x86_64-gcc
+
You can also run commands under the MSYS2 environment from
the Windows command line or batch files. This command will
install GNU Make and Git: