![]() Check for working CXX compiler: /opt/rh/devtoolset-7/root/usr/bin/c++ Check for working C compiler: /opt/rh/devtoolset-7/root/usr/bin/cc - works Check for working C compiler: /opt/rh/devtoolset-7/root/usr/bin/cc The CXX compiler identification is GNU 7.3.1 The C compiler identification is GNU 7.3.1 Resolving deltas: 100% (4283/4283), ~]# mkdir ~]# cd build]# export CFLAGS="-O2 -march=native -msse3 -fomit-frame-pointer build]# export build]# export build]# export build]# cmake3. Remote: Total 6002 (delta 0), reused 1 (delta 0), pack-reused 6001 Remote: Counting objects: 100% (1/1), done. Initialized empty Git repository in /root/xmr-stak/.git/ STEP 2) Compile the mining program ~]# scl enable devtoolset-7 ~]# git clone Because the latest versions have better optimizations for the processors we use here GNU GCC 7 from Software Collection repository – more information for this repository here: How to install new gcc and development tools under CentOS ~]# yum update ~]# yum install -y centos-release-scl ~]# yum install -y cmake3 devtoolset-7-gcc* hwloc-devel libmicrohttpd-devel openssl openssl-devel make git screen Here are the steps you should do to install (in fact install dependencies and compile the miner) and to begin CPU mining: STEP 1) Update your system and install the following dependenciesīecause xmr-stak need a newer version of GNU GCC than the CentOS ships with you must install GNU GCC 5.1 at least. XMR-STAK is GPU and CPU miner, here we present only the CPU ability. Thanks to xmr-stak we can have one application capable of mining many different cryptocurrencies based on different algorithms. In crypto mining it is important to have latest version of the mining software, because crypto world is super dynamic with thousands crypto currency and tens of algos, which ever month might be changed and updated! In continuing our crypto series with xmr-stak we update the old article How to compile xmr-stak (2.4.5) under CentOS 7 for CPU mining cryptocurrencies with the new version 2.5 and tested the build procedure with the old CentOS 6. Keep on reading! Author neoX Posted on SeptemSeptemCategories CentOS 7, mining Tags centos7, cpu mining, crypto, cryptocurrency, cryptonight, electroneum, gcc 8, howto, linux, monero, xmr-stak Leave a comment on How to compile xmr-stak (2.10) under CentOS 7 for CPU mining cryptocurrencies in September 2019 How to compile xmr-stak (2.5) under CentOS 6 for CPU mining cryptocurrencies in November 2018 More on the subject of how to install GNU GCC 8 and what is “devtoolset” here – How to install GNU GCC 8 on CentOS 7. We are going to use GNU GCC 8 to build the XMR-STAK. Sudo yum install -y cmake3 devtoolset-8-gcc* hwloc-devel libmicrohttpd-devel openssl openssl-devel make git screen wget Sudo yum install -y centos-release-scl epel-release So here are the steps to build the XMR-STAK for CPU mining: STEP 1) Update your system and install the following dependenciesĪlways start with update command and then install the dependencies in order first install all the new repositories and then the dependency binaries. ![]() It is easy to build your miner yourself with the code from the official repository! GNU GCC – gcc version 8.3.1 20190311 (Red Hat 8.3.1-3) (GCC)Īs said many times working with crypto-currency it is mandatory to do the things yourself – do not trust any binary made by someone on the Internet.CentOS 7 – CentOS Linux release (Core).XMR-STAK is GPU and CPU miner and here we present only the CPU ability under CentOS 7 using our AMD Threadripper 1950X. ![]() Always use the latest available GNU GCC packages because the latest version of GNU GCC could add some optimizations to the binary compiled code and you may have a CPU miner with better performance! ![]() A time to refresh our old article on how to compile xmr-stak for CPU mining with the new version and this time a new GNU GCC version (version 8.3, the last article we used 7.x – How to compile xmr-stak (2.4.5) under CentOS 7 for CPU mining cryptocurrencies). ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |