Joined
·
9 Posts
Hi,
I am trying to compile bash from source on android.
I am using the pre-built tool chain that comes with android for cross-compiling.
I am using this command
It is getting struck with an error message
Has anyone did something similar and got the executable for android from source?
I am trying to compile bash from source on android.
I am using the pre-built tool chain that comes with android for cross-compiling.
I am using this command
Code:
export CC=/home/tutysra/src/aosp/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc<br />
./configure -build=arm-unknown-eabi -host=arm-unknown-linux-gnu -enable-static-link -without-bash-malloc
Code:
[email protected]:~/src/bash-4.0$ ./configure -build=arm-unknown-eabi -host=arm-unknown-linux-gnu -enable-static-link -without-bash-malloc<br />
checking build system type... arm-unknown-eabi<br />
checking host system type... arm-unknown-linux-gnu<br />
checking for emacs... no<br />
checking for xemacs... no<br />
<br />
Beginning configuration for bash-4.0-release for arm-unknown-linux-gnu<br />
<br />
checking for arm-unknown-linux-gnu-gcc... /home/tutysra/src/aosp/prebuilt/linux-x86/toolchain/arm-eabi-4.4.0/bin/arm-eabi-gcc<br />
checking for C compiler default output file name... <br />
configure: error: in `/home/tutysra/src/bash-4.0':<br />
configure: error: C compiler cannot create executables<br />
See `config.log' for more details.<br />
[email protected]:~/src/bash-4.0$