Updated Compiling from source (markdown)

JayDDee
2020-11-28 20:49:50 -05:00
parent 6697cd4c88
commit 60f87eb344

@@ -178,11 +178,15 @@ Define some local variables to point to local library.
`export CONFIGURE_ARGS="--with-curl=$LOCAL_LIB/curl --with-crypto=$LOCAL_LIB/openssl --host=x86_64-w64-mingw32"`
Adjust for gcc version:
`export GCC_MINGW_LIB="/usr/lib/gcc/x86_64-w64-mingw32/9.3-win32"`
Create a release directory and copy some dll files previously built.
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.
recreated every time a source package is decompressed.
`mkdir release`
@@ -190,9 +194,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/9.3-win32/libstdc++-6.dll release/`
`cp $GCC_MINGW_LIB/libstdc++-6.dll release/`
`cp /usr/lib/gcc/x86_64-w64-mingw32/9.3-win32/libgcc_s_seh-1.dll release/`
`cp $GCC_MINGW_LIB/libgcc_s_seh-1.dll release/`
`cp $LOCAL_LIB/openssl/libcrypto-1_1-x64.dll release/`