diff --git a/Compiling-from-source.md b/Compiling-from-source.md index 919ce2a..bf349de 100644 --- a/Compiling-from-source.md +++ b/Compiling-from-source.md @@ -109,7 +109,7 @@ Refer to Linux compile instructions and install required packages. Additionally, install mingw-w64. -`sudo apt-get install mingw-w64` +`sudo apt-get install mingw-w64 libz-mingw-w64-dev` ### Create a local library @@ -150,7 +150,8 @@ openssl: `make` -Make may fail with an ld error, just ensure libcrypto-x_y-x64.dll & libssl-x_y-x64.dll were created. +Make may fail with an ld error, just ensure libcrypto-x_y-x64.dll is created, where x & y are the major +and minor version. curl: @@ -187,6 +188,7 @@ This can be done outside of cpuminer-opt and only needs to be done once. If the release directory is in cpuminer-opt directory it needs to be recreated every a source package is decompressed. +"x.y" is the version of GCC. `$ mkdir release` @@ -194,9 +196,9 @@ recreated every a source package is decompressed. `$ cp /usr/x86_64-w64-mingw32/lib/libwinpthread-1.dll release/` -`$ cp /usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/libstdc++-6.dll release/` +`$ cp /usr/lib/gcc/x86_64-w64-mingw32/x.y-win32/libstdc++-6.dll release/` -`$ cp /usr/lib/gcc/x86_64-w64-mingw32/7.3-win32/libgcc_s_seh-1.dll release/` +`$ cp /usr/lib/gcc/x86_64-w64-mingw32/x.y-win32/libgcc_s_seh-1.dll release/` `$ cp $LOCAL_LIB/openssl/libcrypto-1_1-x64.dll release/`