In addition to Weibo, there is also WeChat
Please pay attention

WeChat public account
Shulou
2025-11-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1 download the source code
Link
The latest version is 9.2.
2 extract the tar-zxvf gcc-9.2.0.tar.gzcd gcc-9.2.03 download_prerequisites script
Run this script:
. / contrib/download_prerequisites
4 temporary directory
Create a temporary directory to place intermediate files.
Mkdir gcc_9_2_0_buildcd gcc_9_2_0_build5 generates the makefile file.. / configure-enable-checking=release-enable-languages=c,c++-disable-multilib
No, it's this one:
Here are a few options:
-enable-checking /-disable-checking
Indicates whether the compiler makes additional checks during compilation.
-enable-languages
Represents a supported language that can support
Ada c C++ d fortran go jit lto objc obj-c++-disable-multilib
Turn off multi-schema support to support arm,m68,mips,msp430,powerpc schemas.
6 compile sudo make-j6-jn
The option is expressed as multi-core processor optimization, n is the number of cores, and the author's is 6 cores.
This operation is extremely time-consuming, it is recommended to prepare enough time. If there is an error, it usually stops in about a minute or two. If it is not successful, please use it directly.
Sudo make7 install sudo make install8 verify gcc-v
If it is still the old version, please restart and try again.
The following is a successful screenshot:
9 Delete
You can delete the installation file and the zip file.
Rm-rf gcc*
Pay attention to the directory where it is located.
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.

The market share of Chrome browser on the desktop has exceeded 70%, and users are complaining about
The world's first 2nm mobile chip: Samsung Exynos 2600 is ready for mass production.According to a r
A US federal judge has ruled that Google can keep its Chrome browser, but it will be prohibited from
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope





About us Contact us Product review car news thenatureplanet
More Form oMedia: AutoTimes. Bestcoffee. SL News. Jarebook. Coffee Hunters. Sundaily. Modezone. NNB. Coffee. Game News. FrontStreet. GGAMEN
© 2024 shulou.com SLNews company. All rights reserved.