Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: shuoer86 on December 24, 2023, 03:12:14 PM



Title: Need I upgrade the build tool gcc version to build bitcoin?
Post by: shuoer86 on December 24, 2023, 03:12:14 PM
Hello, I am a newbie to bitcoin. So I want to build and run in my own machine.
I look at the docs https://github.com/bitcoin/bitcoin/blob/master/doc/dependencies.md and find that:
Autoconf   2.69
Automake   1.13
Clang   13.0
GCC   10.1
These tools' versions are so new, but my machine is centos7. My gcc or g++ version is only 4.8.
Is it obligatory to upgrade those tools? But I think it's not convenint for a beginner since it maybe a mass of work to upgrade those basis tools. Thank you very much.


Title: Re: Need I upgrade the build tool gcc version to build bitcoin?
Post by: achow101 on December 24, 2023, 05:13:20 PM
Yes. Bitcoin Core uses features that are not available in older compiler versions, notably C++17 and C++20.