当前位置:网站首页>树莓派 的 arm 版的 gcc 安装 和环境变量的配置
树莓派 的 arm 版的 gcc 安装 和环境变量的配置
2022-08-01 01:22:00 【十年哞一剑】
用到的安装包
tools-master.zip

需要的 私我
解压
unzip xxxxxx

aac8c0.png)

如果 没有 配置 环境变量 每次都要进到这里路径底下编译
./arm-linux-gnueabihf-gcc -v
因为 软连接是可执行文件 到不占内存
所以 要 ./XXXXXXXX

用户目录编译呢

编译报错了 没有找到
配置环境变量
echo $PATH 查看环境变量

红圈表示 环境变量的前缀
后缀是 你想加进去的 (想要省去的)
打开和启动脚本 (隐藏文件)
vi .bashrc (隐藏文件)
配置格式 :export PATH = 环境变量的前缀: +(想要省去的)
启动就生效了 永远生效

source .bashrc (生效脚本)

用户目录没有 软连接 所以 arm-linux-gnueabihf 就行了
所以环境变量配置成功
边栏推荐
- 【数据分析】基于matlab GUI学生成绩管理系统【含Matlab源码 1981期】
- Js replication
- ROS2系列知识(4): 理解【服务】的概念
- MYSQL主从复制
- /usr/sbin/vmware-authdlauncher: error while loading shared libraries: libssl.so.1.0.2*Solution
- What is the meaning of JS timestamp?Know SQL will consider to add a timestamp, JS timestamp for the scene?
- WAASAP WebClient UI页面标签的决定逻辑介绍
- 修改Postman安装路径
- 从零造键盘的键盘超级喜欢,IT人最爱
- July Bootcamp (Day 31) - Status Compression
猜你喜欢

How is the tree structure of the device tree reflected?

MYSQL two-phase commit

YOLO怎么入门?怎么实现自己的训练集?

MYSQL关键字Explain解析

【历史上的今天】7 月 31 日:“缸中之脑”的提出者诞生;Wi-Fi 之父出生;USB 3.1 标准发布

Introduction to machine learning how to?

RTL8762DK 点灯/LED(三)

ECCV2022 Workshop | Multi-Object Tracking and Segmentation in Complex Environments

【 】 today in history: on July 31, "brains in vats" the birth of the participant;The father of wi-fi was born;USB 3.1 standard

MYSQL master-slave replication
随机推荐
修改Postman安装路径
Simple vim configuration
Introduction to machine learning how to?
设计消息队列存储消息数据的MySQL表格
Academicians of the two academies speak bluntly: Don't be superstitious about academicians
What is the meaning of JS timestamp?Know SQL will consider to add a timestamp, JS timestamp for the scene?
leetcode:1562. 查找大小为 M 的最新分组【模拟 + 端点记录 + 范围合并】
How to get started with YOLO?How to implement your own training set?
RTL8762DK WDG (six)
Beijing suddenly announced that yuan universe big news
Rasa 3.x 学习系列- Rasa - Issues 4918 学习笔记
两院院士直言:不要迷信院士
Item 36: Specify std::launch::async if asynchronicity is essential.
C string array reverse
MYSQL查询截取优化分析
GDB 源码分析系列文章五:动态库延迟断点实现机制
Rasa 3.x Study Series - Rasa - Issues 4898 Study Notes
内核的解压缩过程详解
July Bootcamp (Day 31) - Status Compression
Exam preparation plan