Verifying GNU 9.1
Procedure
- Use PuTTY to log in to the server as the root user.
- Run the following command to load environment variables:
export PATH=/path/to/GNU/bin:$ PATH
export LD_LIBRARY_PATH=/path/to/GNU/lib64:$LD_LIBRARY_PATH
- Run the following command to check whether the GCC version is 9.1.0:
gcc -v
Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/path/to/GNU/bin/../libexec/gcc/aarch64-unknown-linux-gnu/9.1.0/lto-wrapper Target: aarch64-unknown-linux-gnu Configured with: ../configure --disable-multilib --enable-languages=c,c++,fortran --prefix=/path/to/GNU --disable-static --enable-shared --with-gmp=/path/to/GMP --with-mpfr=/path/to/MPFR --with-mpc=/path/to/MPC Thread model: posix gcc version 9.1.0 (GCC)
Parent topic: GNU 9.1 Installation Guide