- 论坛徽章:
- 0
|
我是才熟悉debian,请教各位,我在添加一个编译器路径,我这样设置为什么无效呢?添加内容如下:
# /etc/profile: system-wide .profile file for the Bourne shell (sh(1))
# and Bourne compatible shells (bash(1), ksh(1), ash(1), ...).
if [ "`id -u`" -eq 0 ]; then
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
else
PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
fi
if [ "$PS1" ]; then
if [ "$BASH" ]; then
PS1='\u@\h:\w\$ '
else
if [ "`id -u`" -eq 0 ]; then
PS1='# '
else
PS1='$ '
fi
fi
fi
export PATH
export PATH =/usr/local/arm/arm-2007q3/bin PATH (添加)
export CROSS_COMPILE=arm-none-linux-gnueabi- (添加)
umask 022
那里设置的不对吗?谢谢! |
|