配置环境变量:(只是在当前命令行窗口中有用)
单独查看PATH环境变量,可用:
[root@localhost u-boot-sh4]#echo $PATH
添加PATH环境变量,可用:
[root@localhost u-boot-sh4]#export PATH=/opt/STM/STLinux-2.3/devkit/sh4/bin:$PATH
永久配置环境变量:
vim ~/.bashrc
然后修改他中path的值即可
配置环境变量:(只是在当前命令行窗口中有用)
单独查看PATH环境变量,可用:
[root@localhost u-boot-sh4]#echo $PATH
添加PATH环境变量,可用:
[root@localhost u-boot-sh4]#export PATH=/opt/STM/STLinux-2.3/devkit/sh4/bin:$PATH
永久配置环境变量:
vim ~/.bashrc
然后修改他中path的值即可