[ELDK] powerpc-linux-gcc:command not found

Stefano Babic sbabic at denx.de
Fri Nov 11 17:52:07 CET 2011


On 11/11/2011 04:01 PM, Khalid Mohiuddin wrote:
> 
> 
> Hi,
>     I am new to linux and trying to build linux3.x for powerpc. I got  
> the following errors
> 
> khalid at khalid-VPCS13S9E:~/ctbuild/linux$ sudo make ARCH=powerpc  
> CROSS_COMPILE=powerpc-linux- CROSS32_COMPILE=powerpc-linux-  
> CROSS_COMPILE_TARGET=yes

Can you ask you why you want to compile the kernel as root ? Sometimes
it is nice to have some powers, but to compile the kernel is too much.

As root you get the PATH of root user, and then the compiler is not found.

But I do not usually compile the kernel as root...

Best regards,
Stefano Babic

-- 
=====================================================================
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-0 Fax: +49-8142-66989-80  Email: office at denx.de
=====================================================================


More information about the eldk mailing list