wareck 2 years ago
parent
commit
d82680ab63

+ 2 - 1
build_erupter.sh

@@ -12,12 +12,13 @@ autoreconf -fi
 CFLAGS="-O2 -msse2 -fcommon " ./configure --host=i686-w64-mingw32.static --disable-shared --enable-blockerupter
 make
 strip cgminer.exe
+upx cgminer.exe
 if [ -d /tmp/cgminer-blockerupter ]; then rm -r -f /tmp/cgminer-blockerupter ;fi
 mkdir /tmp/cgminer-blockerupter
 cp cgminer.exe /tmp/cgminer-blockerupter
 cp $folder/packages/blockerupter/manual.pdf /tmp/cgminer-blockerupter/
 cp $folder/packages/blockerupter/start.bat /tmp/cgminer-blockerupter/
-cp $folder/packages/blockerupter/zadig-2.7.exe /tmp/cgminer-blockerupter/
+cp $folder/packages/blockerupter/zadig-2.8.exe /tmp/cgminer-blockerupter/
 cp $folder/packages/blockerupter/cgminer.conf /tmp/cgminer-blockerupter/
 cd /tmp/
 version=`git ls-remote -h https://github.com/wareck/cgminer-gekko.git | awk '{print $1}' |cut -c1-7`

+ 8 - 8
build_gekko.sh

@@ -15,7 +15,7 @@ fi
 
 cd /home/wareck/cgminer-gekko
 autoreconf -fi
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-static --enable-gekko --disable-extranonce
+CFLAGS="-O2 -msse2" ./configure --host=x86_64-w64-mingw32.static --disable-shared --enable-static --enable-gekko --disable-extranonce
 make
 strip cgminer.exe
 upx cgminer.exe
@@ -24,7 +24,7 @@ mkdir /tmp/cgminer-gekko
 cp cgminer.exe /tmp/cgminer-gekko/
 cp $folder/packages/gekko/manual.pdf /tmp/cgminer-gekko/
 cp $folder/packages/gekko/start.bat /tmp/cgminer-gekko/
-cp $folder/packages/gekko/zadig-2.7.exe /tmp/cgminer-gekko/
+cp $folder/packages/gekko/zadig-2.8.exe /tmp/cgminer-gekko/
 cp $folder/packages/gekko/cgminer.conf /tmp/cgminer-gekko/
 cd /tmp/
 version=`git ls-remote -h https://github.com/wareck/cgminer-gekko.git | awk '{print $1}' |cut -c1-7`
@@ -37,7 +37,7 @@ cp cgminer-gekko-$version.zip /home/$USER/Bureau/win32_build/
 
 
 cd /home/wareck/cgminer-gekko
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-static --enable-gekko --enable-extranonce
+CFLAGS="-O2 -msse2" ./configure --host=x86_64-w64-mingw32.static --disable-shared --enable-static --enable-gekko --enable-extranonce
 make
 strip cgminer.exe
 upx cgminer.exe
@@ -46,7 +46,7 @@ mkdir /tmp/cgminer-gekko
 cp cgminer.exe /tmp/cgminer-gekko/
 cp $folder/packages/gekko/manual.pdf /tmp/cgminer-gekko/
 cp $folder/packages/gekko/start.bat /tmp/cgminer-gekko/
-cp $folder/packages/gekko/zadig-2.7.exe /tmp/cgminer-gekko/
+cp $folder/packages/gekko/zadig-2.8.exe /tmp/cgminer-gekko/
 cp $folder/packages/gekko/cgminer.conf /tmp/cgminer-gekko/
 cd /tmp/
 version=`git ls-remote -h https://github.com/wareck/cgminer-gekko.git | awk '{print $1}' |cut -c1-7`
@@ -61,7 +61,7 @@ cp cgminer-gekko-xnsub-$version.zip /home/$USER/Bureau/win32_build/
 
 echo "Cgminer-all-usb:"
 cd /home/wareck/cgminer-gekko
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --enable-static --disable-shared --enable-extranonce --enable-gekko --enable-bflsc  \
+CFLAGS="-O2 -msse2" ./configure --host=x86_64-w64-mingw32.static --enable-static --disable-shared --enable-extranonce --enable-gekko --enable-bflsc  \
 --enable-bitforce --enable-bitfury --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio --enable-icarus  --enable-klondike  --enable-modminer \
 --enable-extranonce
 make
@@ -73,7 +73,7 @@ mkdir /tmp/cgminer-gekko-all-usb
 cp cgminer.exe /tmp/cgminer-gekko-all-usb
 cp $folder/packages/gekko/manual.pdf /tmp/cgminer-gekko-all-usb/
 cp $folder/packages/gekko/start.bat /tmp/cgminer-gekko-all-usb/
-cp $folder/packages/gekko/zadig-2.7.exe /tmp/cgminer-gekko-all-usb/
+cp $folder/packages/gekko/zadig-2.8.exe /tmp/cgminer-gekko-all-usb/
 cp $folder/packages/gekko/cgminer.conf /tmp/cgminer-gekko-all-usb/
 cd /tmp/
 
@@ -89,7 +89,7 @@ rm -r -f /tmp/cgminer-gekko-all-usb
 
 echo "Cgminer-all-usb:"
 cd /home/wareck/cgminer-gekko
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --enable-static --disable-shared --enable-extranonce --enable-gekko --enable-bflsc  \
+CFLAGS="-O2 -msse2" ./configure --host=x86_64-w64-mingw32.static --enable-static --disable-shared --enable-extranonce --enable-gekko --enable-bflsc  \
 --enable-bitforce --enable-bitfury --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio --enable-icarus  --enable-klondike  --enable-modminer \
 --disable-extranonce
 make
@@ -101,7 +101,7 @@ mkdir /tmp/cgminer-gekko-all-usb
 cp cgminer.exe /tmp/cgminer-gekko-all-usb
 cp $folder/packages/gekko/manual.pdf /tmp/cgminer-gekko-all-usb/
 cp $folder/packages/gekko/start.bat /tmp/cgminer-gekko-all-usb/
-cp $folder/packages/gekko/zadig-2.7.exe /tmp/cgminer-gekko-all-usb/
+cp $folder/packages/gekko/zadig-2.8.exe /tmp/cgminer-gekko-all-usb/
 cp $folder/packages/gekko/cgminer.conf /tmp/cgminer-gekko-all-usb/
 cd /tmp/
 

+ 1 - 1
build_lketc.sh

@@ -9,7 +9,7 @@ autoreconf -fi
 CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-static --enable-zeus --enable-lketc --enable-gridseed --enable-scrypt --prefix=/home/wareck/out
 make -j4
 strip cgminer.exe
-#upx cgminer.exe
+upx cgminer.exe
 mkdir /tmp/cgminer-lketc
 cp cgminer.exe /tmp/cgminer-lketc
 cp $folder/packages/lketc/manual.pdf /tmp/cgminer-lketc/

+ 4 - 4
make_environement.sh

@@ -47,18 +47,18 @@ case "$response" in
         ;;
     *)
 	export MXE_DIR=/opt/mxe
-	export MXE_TARGETS='i686-w64-mingw32.static'
+	export MXE_TARGETS='x86_64-w64-mingw32.static'
 	sudo make -j 5 -C $MXE_DIR MXE_TARGETS="$MXE_TARGETS" curl pthreads pdcurses ncurses libusb1 jansson libzip
         ;;
 esac
 
-if ! grep "export PKG_CONFIG_PATH=/opt/mxe/usr/i686-w64-mingw32.static/lib/pkgconfig/" ~/.profile >/dev/null
+if ! grep "export PKG_CONFIG_PATH=/opt/mxe/usr/x86_64-w64-mingw32.static/lib/pkgconfig/" ~/.profile >/dev/null
 then
 echo 'export PATH=/opt/mxe/usr/bin:$PATH' >> ~/.profile
-echo 'export PKG_CONFIG_PATH=/opt/mxe/usr/i686-w64-mingw32.static/lib/pkgconfig/' >> ~/.profile
+echo 'export PKG_CONFIG_PATH=/opt/mxe/usr/x86_64-w64-mingw32.static/lib/pkgconfig/' >> ~/.profile
 fi
 export PATH=/opt/mxe/usr/bin:$PATH
-export PKG_CONFIG_PATH=/opt/mxe/usr/i686-w64-mingw32.static/lib/pkgconfig/
+export PKG_CONFIG_PATH=/opt/mxe/usr/x86_64-w64-mingw32.static/lib/pkgconfig/
 cd ~
 echo ""
 echo "Cross compilation environement ok."

BIN
packages/blockerupter/zadig-2.7.exe


BIN
packages/blockerupter/zadig-2.8.exe


+ 2 - 1
packages/gekko/cgminer.conf

@@ -9,7 +9,8 @@
                 "url" : "stratum+tcp://sha256.eu.mine.zergpool.com:3333",
                 "user" : "14KnPuvX1xNBQ4qWmcqUZwYbsbtDx9tTXB",
                 "pass" : "c=BTC,mc=BCA/BCH/CHTA/DANE/DGB/DVT/FCH/LCC/PPC/PYRK/SHND/TIT/XEC/XRG"
-        }
+        },
+	
 ]
 ,
 "api-description" : "cgminer 4.12.0-wrk",

BIN
packages/gekko/zadig-2.7.exe


BIN
packages/gekko/zadig-2.8.exe


+ 13 - 9
packages/lketc/cgminer.conf

@@ -1,16 +1,20 @@
 {
 "pools" : [
 	{
-		"url" : "stratum+tcp://eu-de02.miningrigrentals.com:3333#xnsub",
-		"extranonce-subscribe" : true,
-		"user" : "wareck.262669",
-		"pass" : "x"
+		"url" : "stratum+tcp://litecoinpool.org:3333",
+		"user" : "wareck.3",
+		"pass" : "3"
 	},
-	{
-        "url" : "stratum+tcp://litecoinpool.org:3333",
-        "user" : "MJZqqHgsWeQGnh17e34qpPhJdJHM2afH6Q",
-        "pass" : "x"
-    }
+		"url" : "stratum+tcp://litecoinpool.org:3333",
+		"user" : "wareck.3",
+                "pass" : "3"
+	},
+        {
+                "url" : "stratum+tcp://eu-de02.miningrigrentals.com:3333#xnsub",
+                "extranonce-subscribe" : true,
+                "user" : "wareck.262669",
+                "pass" : "x"
+        }
 ]
 ,
 "api-description" : "cgminer 4.7.1-scrypt-wrk",

BIN
packages/lketc/zadig-2.7.exe


BIN
packages/lketc/zadig-2.8.exe