Code Sourcery problem

hi

I have downloaded u-boot from git by
git clone git://git.denx.de/u-boot.git u-boot-main
and then i do

cd u-boot-main
git checkout --track -b omap3 origin/master

1 ) make CROSS_COMPILE=arm-none-linux-gnueabi- mrproper

output is
make CROSS_COMPILE=arm-none-linux-gnueabi- mrproper
awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }'
boards.cfg > .boards.depend

2) make CROSS_COMPILE=arm-none-linux-gnueabi- omap3_beagle_config
awk '(NF && $1 !~ /^#/) { print $1 ": " $1 "_config; $(MAKE)" }'
boards.cfg > .boards.depend
output is
Configuring for omap3_beagle board... and prompt comes

but when i do

3) make CROSS_COMPILE=arm-none-linux-gnueabi-
i get errors

make: arm-none-linux-gnueabi-gcc: Command not found
/bin/sh: arm-none-linux-gnueabi-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
Generating include/autoconf.mk
/bin/sh: line 3: arm-none-linux-gnueabi-gcc: command not found
/bin/sh: arm-none-linux-gnueabi-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
Generating include/autoconf.mk.dep
/bin/sh: line 3: arm-none-linux-gnueabi-gcc: command not found
make: arm-none-linux-gnueabi-gcc: Command not found
/bin/sh: arm-none-linux-gnueabi-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
/bin/sh: arm-none-linux-gnueabi-gcc: command not found
/bin/sh: arm-none-linux-gnueabi-ld: command not found
/bin/sh: arm-none-linux-gnueabi-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
/bin/sh: arm-none-linux-gnueabi-gcc: command not found
dirname: missing operand
Try `dirname --help' for more information.
arm-none-linux-gnueabi-gcc -DDO_DEPS_ONLY \
    -g -Os -fno-common -ffixed-r8 -msoft-float -D__KERNEL__ -
DCONFIG_SYS_TEXT_BASE=0x80008000 -I/home/accel/u-boot-main/include -
fno-builtin -ffreestanding -nostdinc -isystem -pipe -DCONFIG_ARM -
D__ARM__ -march=armv5 -Wall -Wstrict-prototypes \
    -o lib/asm-offsets.s lib/asm-offsets.c -c -S
make: arm-none-linux-gnueabi-gcc: Command not found
make: *** [lib/asm-offsets.s] Error 127

please let me know whether am doing the correct procedure

You can do so:

make CROSS_COMPILE=/arm-none-linux-
gnueabi- mrpoper

or export PATH=/bin:$PATH
and then:
make CROSS_COMPILE=arm-none-linux-
gnueabi- mrproper

2011/2/7 An <anuj.tanksali@gmail.com>

hi,
you can do as Maxim said and if then also getting some error, then try this

make CROSS_COMPILE = /arm-none-linux-gnueabi- mrproper ARCH=arm

or export PATH=/bin:$PATH and then

make CROSS_COMPILE=arm-none-linux-
gnueabi- mrproper ARCH=arm

here is the path of the tool chain you installed.

thanks,
Lokesh

hi

solved the problem..

i set the path var to full path and export PATH
earlier i was using the $HOME var for setting the path

anyway thanks for the input