yum install gcc gcc-c++
yum -y install gcc automake autoconf libtool make
执行make会报错
ERROR:
error: CPU you selected does not support x86-64 instruction set
您选择的 CPU 不支持 x86-64 指令集
如果是centos 8就不会报此问题,如果是centos 7 就加上参数
make CFLAGS="-march=x86-64"