I want to build the libargp library with arm-linux-androideabi-gcc compiler, but I can't to do it.
libargp is available from: https://github.com/alexreg/libargp.
I run the following commands to run the configure script with success:
$ libtoolize --force
$ aclocal
$ autoheader
$ automake --force-missing --add-missing
$ autoconf
$ autoreconf --install
. By the way, libargp can to be built with gcc, with success, by "build" script file use. But I want to build it with arm-linux-androideabi-gcc.
So, I tried to change the "build" script file with the following contents:
#!/usr/bin/env bash
source ./common
if [[ ! -d "$BUILD_DIR/" ]] ; then mkdir "$BUILD_DIR/" ; fi &&
cd "$BUILD_DIR" &&
"../$GNULIB_DIR/configure CC=arm-linux-androideabi-gcc LD=arm-linux-androideabi-ld \
AR=arm-linux-androideabi-ar --host=arm-linux-androideabi" &&
make clean &&
make &&
exit 0 # EX_OK
, but if I try to execute this "build" script file, then I get the following error:
./build: line 9: ../gnulib/configure CC=arm-linux-androideabi-gcc LD=arm-linux-androideabi-ld AR=arm-linux-androideabi-ar --host=arm-linux-androideabi: No such file or directory
.
By the way, I don't know how to fix this error.
Thanks for any help.
Best Regards,
dsfb.