User forums > Using Code::Blocks
How to set up C::B for Android NDK compiler?
MortenMacFly:
--- Quote from: amarty on November 15, 2012, 09:56:41 pm ---But compiler exact under that path - I try to copy path, paste it to console, type "\bin\", copy and paste execuatable name, press enter - compiler launches.
--- End quote ---
No. You setup "arm-linux-androideabi-gcc.exe" as C toolchain application. This file does not exist. Therefore, your compiler setup is wrong. Thats what the error message tells you.
(...or maybe I misunderstood. Is it working now?!)
MortenMacFly:
--- Quote from: amarty on November 15, 2012, 10:12:22 pm ---My configuration is Win7 x64; C::B 8.05 with MinGW, 32 bit; 32bit NDK.
--- End quote ---
Oh dear - you mean 08/02? You really try to use an IDE that is so old that android did not even exist at that time?! :o
amarty:
--- Quote from: MortenMacFly on November 15, 2012, 10:14:20 pm ---
--- Quote from: amarty on November 15, 2012, 09:56:41 pm ---But compiler exact under that path - I try to copy path, paste it to console, type "\bin\", copy and paste execuatable name, press enter - compiler launches.
--- End quote ---
No. You setup "arm-linux-androideabi-gcc.exe" as C toolchain application. This file does not exist. Therefore, your compiler setup is wrong. Thats what the error message tells you.
(...or maybe I misunderstood. Is it working now?!)
--- End quote ---
This file exist in my NDK. List of files under "D:\android-ndk-r8b\toolchains\arm-linux-androideabi-4.4.3\prebuilt\windows\bin"
arm-linux-androideabi-addr2line.exe
arm-linux-androideabi-ar.exe
arm-linux-androideabi-as.exe
"arm-linux-androideabi-c++.exe"
"arm-linux-androideabi-c++filt.exe"
arm-linux-androideabi-cpp.exe
"arm-linux-androideabi-g++.exe"
arm-linux-androideabi-gcc.exe
arm-linux-androideabi-gcc-4.4.3.exe
arm-linux-androideabi-gcov.exe
arm-linux-androideabi-gdb.exe
arm-linux-androideabi-gprof.exe
arm-linux-androideabi-ld.exe
arm-linux-androideabi-nm.exe
arm-linux-androideabi-objcopy.exe
arm-linux-androideabi-objdump.exe
arm-linux-androideabi-ranlib.exe
arm-linux-androideabi-readelf.exe
arm-linux-androideabi-run.exe
arm-linux-androideabi-size.exe
arm-linux-androideabi-strings.exe
arm-linux-androideabi-strip.exe
MortenMacFly:
--- Quote from: amarty on November 15, 2012, 10:16:57 pm ---This file exist in my NDK.
--- End quote ---
Ok - but what shall I say? Even if I setup with this executable, it works for me. Maybe you should try a nightly (or 12/11-RC1).
amarty:
--- Quote from: MortenMacFly on November 15, 2012, 10:16:38 pm ---
--- Quote from: amarty on November 15, 2012, 10:12:22 pm ---My configuration is Win7 x64; C::B 8.05 with MinGW, 32 bit; 32bit NDK.
--- End quote ---
Oh dear - you mean 08/02? You really try to use an IDE that is so old that android did not even exist at that time?! :o
--- End quote ---
Yes. I use only official releases, not nightly builds or release candidates. And, I'm lazy for installing MinGW separately, so I'm waiting for C::B 12.11.
And what the problem with old C::B? Executables still executables, GCC still GCC.
PS. Sorry, my C::B version is 10.05, 8.02 is my first used C::B version.
UPD Few days ago I'm looking for new C::B, and see news about 12.11-RC1, but can't find link to download this package.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version