当前位置:网站首页>GCC9.5离线安装
GCC9.5离线安装
2022-07-05 21:23:00 【ab0902cd】
1. 在有网络的情况下,分别下载gcc9.5.0的安装包,及其4个依赖包
安装包链接:https://mirrors.tuna.tsinghua.edu.cn/gnu/gcc/gcc-9.5.0/gcc-9.5.0.tar.gz
依赖包链接:ftp://gcc.gnu.org/pub/gcc/infrastructure
依次下载下面4个依赖包(windows下载好然后上传到linux):
ftp://gcc.gnu.org/pub/gcc/infrastructure/gmp-6.1.0.tar.bz2 ftp://gcc.gnu.org/pub/gcc/infrastructure/mpfr-3.1.4.tar.bz2 ftp://gcc.gnu.org/pub/gcc/infrastructure/mpc-1.0.3.tar.gz ftp://gcc.gnu.org/pub/gcc/infrastructure/isl-0.18.tar.bz2
4个依赖包分别是:gmp-6.1.0.tar,isl-0.18.tar , mpc-1.0.3.tar , mpfr-3.1.4.tar
2. 将5个包放入linux中自己的目录下:/home/xzl
解压gcc9.5.0安装包:tar -xzf gcc-9.5.0.tar.gz
将4个依赖包 移动到gcc-9.5.0目录中 (mv)
在gcc-9.5.0目录下输入:./contrib/download_prerequisites
3. 在gcc-9.5.0目录中创建install目录(mkdir)
在xzl目录下创建新的目录build 进入此目录 输入:
../gcc-9.5.0/./configure --prefix=/home/xzl/gcc-9.5.0/install --enable-language=c,c++
4.make -jn
5. make install
6.配置环境:export PATH=/home/xzl/gcc-9.5.0/install/bin${PATH}
边栏推荐
- What are the requirements of UL 2043 test for drive housing in the United States?
- leetcode:1755. Sum of subsequences closest to the target value
- Introduction to TS, constructor and its this, inheritance, abstract class and interface
- systemd-resolved 开启 debug 日志
- leetcode:1139. The largest square bounded by 1
- Reading and writing operations of easyexcel
- Realize the function of verifying whether the user has completed login when browsing the page
- 面试官:并发编程实战会吗?(线程控制操作详解)
- 【日常训练】729. 我的日程安排表 I
- Sequence alignment
猜你喜欢

基於flask寫一個接口

Zhang Lijun: penetrating uncertainty depends on four "invariants"

Add ICO icon to clion MinGW compiled EXE file

Parker driver maintenance COMPAX controller maintenance cpx0200h

Reading and writing operations of easyexcel

PVC 塑料片BS 476-6 火焰传播性能测定

leetcode:1755. Sum of subsequences closest to the target value
![[case] Application of element display and hiding -- element mask](/img/6e/6ea484a6e5d547e01dd8820af8e314.png)
[case] Application of element display and hiding -- element mask

显示屏DIN 4102-1 Class B1防火测试要求

Clion configures Visual Studio (MSVC) and JOM multi-core compilation
随机推荐
Monorepo management methodology and dependency security
Test of incombustibility of cement adhesives BS 476-4
【案例】定位的运用-淘宝轮播图
Problems encountered in office--
@Validated basic parameter verification, grouping parameter verification and nested parameter verification
基于 Ingress Controller 在集群外访问 Zadig 自测环境(最佳实践)
Sequence alignment
Uni app Bluetooth communication
Get JS of the previous day (timestamp conversion)
PostGIS installation geographic information extension
Using webassembly to operate excel on the browser side
浅聊我和一些编程语言的缘分
Evolution of zhenai microservice underlying framework from open source component encapsulation to self-development
Influence of oscilloscope probe on signal source impedance
[daily training -- Tencent select 50] 89 Gray code (only after seeing the solution of the problem)
Mode - "Richter replacement principle"
Some things make feelings nowhere to put
Feng Tang's "spring breeze is not as good as you" digital collection, logged into xirang on July 8!
2022-07-03-CKA-粉丝反馈最新情况
示波器探头对测量带宽的影响