当前位置:网站首页>树莓派 的 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 就行了
所以环境变量配置成功
边栏推荐
- 你需要知道的 TCP 四次挥手
- 如何编辑epub电子书的目录
- 现代企业架构框架1
- Unity3D study notes 10 - texture array
- 【密码学/密码分析】基于TMTO的密码分析方法
- RTL8762DK PWM (seven)
- STK8321 I2C (Shengjia-accelerometer) example
- SC7A20 (Silan Micro-Accelerometer) Example
- IDEA 找不到或无法加载主类 或 Module “*“ must not contain source root “*“ The root already belongs to module “*“
- JQESAP系统里的胖接口Fat interface
猜你喜欢

RTL8762DK UART(二)

ECCV2022 Workshop | 复杂环境中的多目标跟踪和分割

设备树——dtb格式到struct device node结构体的转换

RTL8762DK RTC (5)

Google "Cloud Developer Quick Checklist"; Tsinghua 3D Human Body Dataset; SenseTime "Universal Vision Framework" open class; Web3 Minimalist Getting Started Guide; Free Books for Efficient Deep Learni

【 】 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

RTL8762DK 点灯/LED(三)

ROS2系列知识(4): 理解【服务】的概念

RTL8762DK WDG(六)

SC7A20(士兰微-加速度传感器)示例
随机推荐
leetcode:1562. 查找大小为 M 的最新分组【模拟 + 端点记录 + 范围合并】
Google engineer fired for claiming AI awareness: breach of nondisclosure agreement
ROS2 series of knowledge (4): understand the concept of [service]
The kernel of the decompression process steps
软考高级系统架构设计师系列之:信息系统基础知识
The device node structure is converted into a platform_device structure
【 】 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
Key Points Estimation and Point Instance
Google Earth Engine - Error resolution of Error: Image.clipToBoundsAndScale, argument 'input': Invalid type
C字符串数组反转
how to edit the table of contents of an epub ebook
Handwritten binary search tree and test
RTL8762DK WDG (six)
MYSQL two-phase commit
Js replication
RTL8762DK Lighting/LED (3)
js 实现复制功能
解决IDEA默认情况下新建文件时,右击,new,没有XML文件的问题
Exam preparation plan
MYSQL经典面试题