I am getting
cannot execute binary file: Exec format error in
Cygwin while making kernel image for HTC Desire U T327W device.
I have downloaded android toolchain for this device with below mentioned link:
and kernel source code:
i putted kernel source code and prebuilt tool chain in Android folder and set path with below mentioned command:
export PATH=$HOME/android/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin:$PATH
when i ran command "make clean" i am getting output like this:
/home/gs/android/primominids-ics-3.0.16-17d3a9d/scripts/gcc-version.sh: line 25: /home/gs/android/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: cannot execute binary file: Exec format error
/home/gs/android/primominids-ics-3.0.16-17d3a9d/scripts/gcc-version.sh: line 26: /home/gs/android/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: cannot execute binary file: Exec format error
/home/gs/android/primominids-ics-3.0.16-17d3a9d/scripts/gcc-version.sh: line 25: /home/gs/android/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: cannot execute binary file: Exec format error
/home/gs/android/primominids-ics-3.0.16-17d3a9d/scripts/gcc-version.sh: line 26: /home/gs/android/prebuilt/linux-x86/toolchain/arm-eabi-4.4.3/bin/arm-eabi-gcc: cannot execute binary file: Exec format error
I have followed steps and required packages as mentioned in one of xda forum but not workes for me. please have a look and let me know correct steps and required things to build kernel with this source code and prebuilt.
br.
Gomesh