In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
How to understand the problem in the compilation of network Fedora gcc, in view of this problem, this article introduces the corresponding analysis and answer in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
A comprehensive introduction to Fedora gcc compilation, here I will publish a personal understanding, here will introduce the solution to the problem of Fedora gcc compilation, Linux has all the characteristics of a modern fully functional UNIX system, including true multitasking, virtual memory, shared libraries, excellent memory management and TCP/IP network support.
Fedora gcc compilation with gcc3.3.6 to replace gcc4.1.1 's newly bought DELL server, radhat7 can not be installed, so borrowed a Fedora 6, after the installation also encountered a lot of problems, that is the foregoing, not shown here.
Recently we encountered a problem. After compiling our work environment with the system's native Fedora gcc, some scripts will appear core dump after running. After analysis, it is estimated that the compiled version of Fedora gcc is too high. So I decided to find a lower version of Fedora gcc compiler to install it. Checked a lot of information, decided to use cross-compilation, using Fedora gcc4 to compile the source code of Fedora gcc3.
What is more valuable is the process of installing the Fedora gcc compiler on Linux.
* A 3.3version was installed step by step and an error occurred during make. /.. / gcc-3.3/gcc/read-rtl.c:662: error: invalid lvalue in increment. I continued to check the data and found that some people said that if the version was too low, there would be errors, and some people successfully compiled the 3.3.6 version.
So 3.3.6 re-Fedora gcc compilation was done, but there was an error at the end of make: f/com.c:11061: error: conflicting types for 'ffecom_gfrt_basictype'. Looking for information this time, I didn't find any good solution. It seems to say what patch should be made, but because the previous information says that the installation is smooth, there is no problem, and there should be no need to patch. So I went back and tried to add a parameter to the configuration:-- enable-languages=c,c++, was successfully recompiled this time.
The next task is to replace the high version with the newly compiled version 3.3.6. In a way that feels simple, I wonder if there is a better and safer way: rename the Fedora gcc compilation in / usr/bin to gcc4, and then ln-s / usr/local/gcc-3.3.6/bin/gcc gcc. In this way, the Fedora gcc compilation in 3.3.6 will be used, and the original Fedora gcc compilation will be backed up, which can be easily changed back when necessary. By the way, we also do the same with Gmail + and gcov.
However, it is not known whether this lower version of Fedora gcc compilation can meet the requirements, so let's verify it later.
This is the answer to the question about how to understand the network Fedora gcc compilation. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about it.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.