On 10/04/2011 07:31 AM, Kim Huynh wrote:
> Hi
> 
> I have my C compiler as CC=/home/Development/Android/android-ndk-
> r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-
> linux-androideabi/bin
> 
> and keep getting
> 
> gcc: error trying to exec 'ccl': execvp: No such file or directory
> 
> Does anyone know why?
>
> I am running "make" from my Linux terminal.

gcc invokes several sub-programs in order to compile a program.
Some versions of gcc invoke ccl as one of these sub-commands.
(But I haven't seen this used myself, or distributed with any
cross toolchains that I'm aware of.)

You can see the "compilation plan", which are details about
what programs are being invoked and what directories and paths
are being used, by using:

gcc -### <the rest of your command line goes here>

See http://elinux.org/GCC_Tips#View_Compilation_Plan

My guess is that you have some mixed-up paths, or that your
Makefile is not invoking the correct cross-compiler.

 -- Tim

=============================
Tim Bird
Architecture Group Chair, CE Workgroup of the Linux Foundation
Senior Staff Engineer, Sony Network Entertainment
=============================

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-porting

Reply via email to