Due to compilation nodejs 5.1 need 4.7 Above gcc, and CentOS Self contained gcc Version only 4.3, Therefore, you need to manually compile and install . By default, all operations are performed by root User execution .

1. Download the source code
# wget ftp://mirrors.kernel.org/gnu/gcc/gcc-4.9.0/gcc-4.9.0.tar.gz
2. decompression , Download dependency package
# tar -zxvf gcc-4.9.0.tar.gz # cd gcc-4.9.0 # ./contrib/download_prerequisites
3. Compile and install
# ./configure --enable-checking=release --enable-languages=c,c++
--disable-multilib # make -j4 # make install
make -j4 About to last 20 Multiple minutes .-j4 It's multi-threaded optimization ,CPU 8 Thread is OK -j8.

4. View version

( After that, I seem to restart the system to take effect )
# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local
/libexec/gcc/x86_64-unknown-linux-gnu/4.9.0/lto-wrapper Target:
x86_64-unknown-linux-gnu Configuredwith: ./configure --enable-checking=release
--enable-languages=c,c++ --disable-multilib Thread model: posix gcc version 4.9
.0 (GCC)

©2020 ioDraw All rights reserved
Vue2.0+jsonserver+axios Simulate local request interface data Enterprises face SEM Bidding and SEO How to choose ? Or both ? Did you complain today ? Notes on core principles of reverse engineering ( One )——Hello World-1 Some views of a student on Hongmeng system Java Summary of basic learning (162)—— How to ensure thread safety ? Using function to realize the exchange of two numbers (C language )SK Hynix World Premiere DDR5 Memory : The frequency goes up 5600MHz, Capacity up to 256GBdjango Do not close CSRF middleware , Custom through CSRF Tested post request Zhejiang University data structure midterm examination questions