项目

一般

简介

Linux开发板环境配置 » 历史记录 » 版本 2

om 经理1, 2020-08-10 14:01

1 2
<p style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);">1. PATH环境(可执行文件搜索目录)<br/>在/etc/profile中添加:<br/>export PATH = $PATH:your-path</p><p style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);">如:export PATH=$PATH:/NandFlash</p><p style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);">2. LD_LIBRARY_PATH环境(链接库文件搜索目录)<br/>在/etc/profile中添加:<br/>export LD_LIBRARY_PATH = $LD_LIBRARY_PATH:your-libpath</p><p style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);">如:export LD_LIBRARY_PATH = $LD_LIBRARY_PATH:/NandFlash</p><p><span style="color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);">3. 时间设置</span></p><ol style="margin-bottom: 1em; color: rgb(72, 72, 72); font-family: Verdana, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);" class=" list-paddingleft-2"><li><p>date -s YYYY.MM.DD-hh:mm:ss</p></li><li><p>hwclock -w</p></li></ol><p><br/></p>