arm-gcc correctly installed but can't use it!!

Guillaume
Hello,

I installed arm-gcc-4.4.3 from FriendlyARM (in opt/FriendlyARM/)
I set the variable with
#export PATH=$PATH:/opt/FriendlyARM/toolschain/4.4.3/bin
I tested with the command
#arm-linux-gcc -v

And it's working!!

But when I try to compile android sources (from FriendlyARM), the command
make menuconfig return me:
  HOSTCC  scripts/basic/fixdep
/bin/sh: gcc: not found
make[1]: *** [scripts/basic/fixdep] Erreur 127
make: *** [scripts_basic] Erreur 2

Like it try to use the GCC from my distrib instead of arm-gcc

Is there another step I forget to install arm-gcc??

thanks for help

davef
Show us the commands you enter to do the compile.

guillaume
the problem is before the compile!
#make menuconfig 
return me a error /bin/sh: gcc: not found
like it can't find the arm-linux-gcc compiler!!!

But I tested to compile a simple hello world example with the following
command:
#arm-linux-gcc -o hello hello.c

I works!!

davef
But you said:
*********
But when I try to compile android sources (from FriendlyARM), the command
make menuconfig return me:
 HOSTCC  scripts/basic/fixdep
/bin/sh: gcc: not found
make[1]: *** [scripts/basic/fixdep] Erreur 127
make: *** [scripts_basic] Erreur 2
*********

How are you setting up your cross-compile environment variables?  For
example:

export CROSS_COMPILE= arm-none-linux-gnueabi-
export CC="${CROSS_COMPILE}gcc -march=armv4t -mtune=arm920t
etc
etc

Is this for the mini2440 or mini6410?

Could you link to the tutorial you are using?

guillaume
I follow this tutorial
http://my.opera.com/vinodmunikoti/blog/manual-for-compiling-android-for-...
It supposed to be the translation of this one:
http://www.friendlyarm.net/dl.php?file=android-guide.pdf

and no, I didn't setting up the cross-compile variables! The tutorial or
topics on this forums don't talk about this.

This is for a mini2440 with a display W35

davef
Well, it looks like you don't need to set any of them.  Perhaps in the
configuration file used.

However, if you get it to compile you may have another problem . . . your
display type.  Is W35 supported by this procedure?

guillaume
shame on me! the make menuconfig need the GCC (not arm-linux-gcc),
so a simple
#aptitude install gcc solve my problem

about the display, I know there is modifications to do in the friendlyArm
android archive. I guess this is not a big problem, I found a tutorial to
do it.