@@ -10,8 +10,10 @@ build scripts for the libraries are included.
1010
1111## Using the namespace
1212
13- Download ` math.zip ` and extract the files somewhere on your computer. In order
14- for Windows to find the DLLs you'll have to put them:
13+ Download an appropriate ` Math-*.zip ` from the releases page and extract the
14+ files somewhere on your computer.
15+
16+ In order for Windows to find the DLLs you'll have to put them:
1517
1618* in the current directory (this might be determined by the properties of the
1719shortcut you use to start Dyalog), or
@@ -20,13 +22,20 @@ shortcut you use to start Dyalog), or
2022
2123## Building the libraries
2224
23- The only supported build configuration is cross-compiling from Linux to Windows.
25+ The supported build configurations are:
26+ * Linux (x86 and x86-64)
27+ * Cross-compiling from Linux to Windows (x86 and x86-64)
2428
25- To build (tested on Ubuntu 15.10) :
29+ To build natively :
2630
27- * install some cross- compilers with
28- ` sudo apt-get install gcc-mingw-w64 gfortran-mingw-w64 `
31+ * install some 32- and 64-bit Fortran compilers with
32+ ` sudo apt-get install gfortran-multilib `
2933* ` cd ` into the root of the repository
30- * type ` make ` (or e.g. ` make -j8 ` if you have 8 CPU cores)
34+ * type ` make -f Makefile.linux ` to make ` Math-linux.zip `
35+
36+ To cross-compile (tested on Ubuntu 17.04):
3137
32- This will generate the release package ` math.zip ` in the current directory.
38+ * install some cross-compilers with
39+ ` sudo apt-get install gfortran-mingw-w64 `
40+ * ` cd ` into the root of the repository
41+ * type ` make -f Makefile.windows ` to make ` Math-windows.zip `
0 commit comments