Updated Compiling from source (markdown)

JayDDee
2020-05-06 01:31:56 -04:00
parent 331b13ce82
commit 253f429de9

@@ -126,26 +126,25 @@ Download and build other packages for mingw that don't have a mingw64 version av
Download the following source code packages from their respective and respected download locations,
copy them to $HOME/usr/lib/ and uncompress them.
openssl
curl
gmp
openssl: https://github.com/openssl/openssl/releases
In most cases the latest vesrion is ok but it's safest to download
the same major and minor version as included in your distribution.
curl: https://github.com/curl/curl/releases
gmp: https://gmplib.org/download/gmp/
In most cases the latest version is ok but it's safest to download the same major and minor version
as included in your distribution.
Run the following commands or follow the supplied instructions.
Do not run "make install" unless you are using /usr/lib, which isn't
recommended.
Do not run "make install" unless you are using /usr/lib, which isn't recommended.
Some instructions insist on running "make check". If make check fails
it may still work, YMMV.
Some instructions insist on running "make check". If make check fails it may still work, YMMV.
You can speed up "make" by using all CPU cores available with "-j n" where
n is the number of CPU threads you want to use.
You can speed up "make" by using all CPU cores available with "-j n" where n is the number of
CPU threads you want to use.
openssl:
`./Configure mingw64 shared --cross-compile-prefix=x86_64-w64-mingw32-`
`make`
@@ -159,14 +158,14 @@ curl:
`make`
gmp:
`./configure --host=x86_64-w64-mingw32`
`make`
Create symlinks to abstract the package version from the file path or include the version
in commands below.
### Tweak the environment.