gcc: error trying to exec 'ccl': execvp: No such file or directory

551 views
Skip to first unread message

Kim Huynh

unread,
Oct 4, 2011, 10:34:32 AM10/4/11
to android-ndk
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.

Thanks
Kim

arif shaikh

unread,
Oct 4, 2011, 10:39:19 AM10/4/11
to andro...@googlegroups.com
check permission for files in /home/Development/Android/android-ndk-
r6b/toolchains/arm-linux-androideabi-4.4.3/prebuilt/linux-x86/arm-
linux-androideabi/bin folder

Give executable permissions to files in above folder if it doesn't has.


--
You received this message because you are subscribed to the Google Groups "android-ndk" group.
To post to this group, send email to andro...@googlegroups.com.
To unsubscribe from this group, send email to android-ndk...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/android-ndk?hl=en.


Kim Huynh

unread,
Oct 4, 2011, 10:48:55 AM10/4/11
to android-ndk
I did and still getting the same error.
 
My Linux box is 32-bit.  Do you think this could be the problem for running gcc from Android NDK?
 
Thanks for your help

David Turner

unread,
Oct 4, 2011, 12:07:40 PM10/4/11
to andro...@googlegroups.com
On Tue, Oct 4, 2011 at 7:34 AM, Kim Huynh <k...@itsaver.com> 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


You should not try to use the prebuilt binary here directly, please build a stand-alone toolchain instead and use it (see docs/STANDALONE-TOOLCHAIN.sh)
 
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.

Thanks
Kim

David Turner

unread,
Oct 4, 2011, 12:09:31 PM10/4/11
to andro...@googlegroups.com
On Tue, Oct 4, 2011 at 7:34 AM, Kim Huynh <k...@itsaver.com> 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

You are supposed to put ..../arm-linux-androideabi/bin in your path to have the binaries here working.
Otherwise, call the ones like ..../bin/arm-linux-androideabi-gcc.

However, you will encounter other problems if you use it directly, so please build a standalone toolchain :)
 
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.

Thanks
Kim
Reply all
Reply to author
Forward
0 new messages