+ -
当前位置:首页 → 问答吧 → 【求助】gcc编译路径的设置

【求助】gcc编译路径的设置

时间:2006-09-21

来源:互联网

我用的是RH,刚刚安装了交叉编译工具连,在编译内核的时候提示找不到gcc
于是在 .bash_profile里面添加/opt/mvl_csb226/pro/devkit/arm/xscale_le/bin
添加完毕后用source命令使之生效,
但还是提示找不到gcc
重启系统后,问题依旧。
这个.bash_profile怎么设置?

附:
以下就是我的 .bash_profile内容

# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then
. ~/.bashrc
fi
# User specific environment and startup programs
PATH=$PATHHOME/bin
PATH=$PATH/opt/mvl_csb226/pro/devkit/arm/xscale_le/bin
BASH_ENV=$HOME/.bashrc
USERNAME="root"
export USERNAME BASH_ENV PATH      

作者: fenfei   发布时间: 2006-09-21

我已经解决了。
修改的是etc/profile
但是为什么.bash_profile的修改无效??      

作者: fenfei   发布时间: 2006-09-21

热门下载

更多