


Cross-compiling c++ programs that can run on Raspberry Pi under Ubuntu 20.Re: PowerPC: Merge ports/ dl-procinfo.Simple process of compiling C programs with cmake under Ubuntu.Cross-compiling c++ programs that can run on Raspberry Pi under Ubuntu 20.04 (excluding third-party libraries).Detailed process of compiling C programs under Ubuntu system.Common commands for compiling programs with GCC.Notes on Compiling Forced Static Executable Programs.Various memory allocations when compiling C programs.Problems compiling 32-bit programs with gcc in Ubuntu64-bit.The method for linux to run commands or programs in the background of the terminal (the same applies to Ubuntu/Fedora/Centos, etc.).Problems compiling and running Qt programs.CMake practice (2) Compiling OpenGL programs under Ubuntu.Compiling C programs with Vim and GCC on Macbook.The overall process of running and compiling c programs under centos (taking the problem of calling parent and child processes under fork as an example).Build an environment for compiling executable programs using NDK under ubuntu.Writing, compiling, and running java programs as text documentation.Learning - compiling C# programs and Java programs from the command line.In the future, try not to use CentOS, it will be much better to replace it with Ubuntu Server! Later, I got advice from experts and tried to use Docker to run a CentOS system on Mint to compile Rust programs, and found that this works very well! At first I thought that the 3.X kernel used by CentOS by default would have problems running on the 4.15 kernel, but it was found that there was no problem.
#CENTOS GLIBC 2.18 INSTALL#
I made a partition on the machine to install a set of CentOS again, but I was not willing to give up such a good Mint system and use the crappy CentOS instead. Then I had to run a CentOS in the virtual machine to compile the Rust program, so the compiled program ran happily on the CentOS server, but running CentOS in the virtual machine was really unbearable. As a result, CentOS was hung up, and I couldn't even get up!
#CENTOS GLIBC 2.18 UPGRADE#
I tried to compile and upgrade manually on the virtual machine. Later, I found that it was too dangerous. I also thought about upgrading the glibc version on CentOS. This is also the reason why a Rust helloworld program compiled on Ubuntu cannot run on CentOS. foo: /lib/libc.so.6: version 'GLIBC_2.18' not found (required by. In glibc 2.18, a _cxa_thread_atexit_impl flag was introduced, all dynamic link programs compiled based on glibc environment 2.18 and above, if they are run in glibc environment before 2.18, an error will be reported: The desktop Linux systems commonly used by developers now, such as Ubuntu / Debian / Mint / Arch / Manjaro, etc., are relatively new glibc versions, such as Ubuntu 18.04 has reached version 2.27. Now CentOS 8 is not out yet, the latest is CentOS 7.6, and the glibc version on it is 2.17, which is already the version in 2012.
