yum install centos-release-scl-rh
yum install devtoolset-3-gcc devtoolset-3-gcc-c++
update-alternatives --install /usr/bin/gcc-4.9 gcc-4.9 /opt/rh/devtoolset-3/root/usr/bin/gcc 10
update-alternatives --install /usr/bin/g++-4.9 g++-4.9 /opt/rh/devtoolset-3/root/usr/bin/g++ 10
More Related Contents:
- How to redirect output of systemd service to a file
- make -j 8 g++: internal compiler error: Killed (program cc1plus)
- How do I recover a semaphore when the process that decremented it to zero crashes?
- 32-bit absolute addresses no longer allowed in x86-64 Linux?
- How do the likely/unlikely macros in the Linux kernel work and what is their benefit?
- How to add a default include path for GCC in Linux?
- ld cannot find an existing library
- How do I set the working directory of the parent process?
- Calling printf in x86_64 using GNU assembler
- Linking OpenSSL libraries to a program
- What’s the difference between “statically linked” and “not a dynamic executable” from Linux ldd?
- Linux clock_gettime(CLOCK_MONOTONIC) strange non-monotonic behavior
- Can _start be the thumb function?
- Linking g++ 4.8 to libstdc++
- How to change the default GCC compiler in Ubuntu?
- How to avoid STT_GNU_IFUNC symbols in your binary?
- How can I select a static library to be linked while ARM cross compiling?
- What is the ‘soname’ option for building shared libraries for?
- How do you link to a specific version of a shared library in GCC
- Number of executed Instructions different for Hello World program Nasm Assembly and C
- Is there a way to get gcc to output raw binary?
- Trying to understand gcc’s complicated stack-alignment at the top of main that copies the return address
- Install gcc on linux with no root privilege
- Non-blocking getch(), ncurses
- Where are include files stored – Ubuntu Linux, GCC
- Do I need -D_REENTRANT with -pthreads?
- undefined reference to symbol even when nm indicates that this symbol is present in the shared library
- How to convert Linux 32-bit gcc inline assembly to 64-bit code? [closed]
- Responsibility of stack alignment in 32-bit x86 assembly
- How to set RPATH and RUNPATH with GCC/LD?