Cross-compiling on Debian i386 for ARM Linux

From: Thierry Boudet <thierry.boudet_at_betatech.fr>
Date: Fri, 16 Oct 2009 11:43:08 +0200

Hi there

I'm trying to crosscompile cgilib in a Debian i386 for an embedded
device with this compiler

$ /usr/local/arm/3.4/bin/arm-linux-gcc -v
Reading specs from
/usr/local/arm/3.4/bin-ccache/../lib/gcc/arm-linux-uclibc/3.4.3/specs
Configured with:
/opt/buildroot/toolchain_build_arm_nofpu/gcc-3.4.3/configure
--prefix=/usr/local/arm/3.4 --build=i386-pc-linux-gnu
--host=i386-pc-linux-gnu --target=arm-linux-uclibc --enable-languages=c,c++
--enable-shared --disable-__cxa_atexit --enable-target-optspace
--with-gnu-ld
--disable-nlsr --enable-multilib --with-float=soft
Thread model: posix
gcc version 3.4.3
$

At the first trial,
$ ./configure --host=arm-linux
run smothly, but make fail with that message:

$ make
cd . && /bin/bash
/home/thierry/devel/embedded-arm/targets/lexem/build/cgilib-0.7/missing
--run aclocal-1.10
/home/thierry/devel/embedded-arm/targets/lexem/build/cgilib-0.7/missing:
line 54: aclocal-1.10: command not found
WARNING: `aclocal-1.10' is missing on your system. You should only need
it if
          you modified `acinclude.m4' or `configure.ac'. You might want
          to install the `Automake' and `Perl' packages. Grab them from
          any GNU archive site.

I've only aclocal 1.9 on my box, so I patched configure with
am__api_version="1.9", and rerun all the things...

But I only have ( aux.o cgi.o cgitest.o cookies.o ) and no
libcgilib.so or libcgilib.a, an the executable cgitest was a shell
script...

What is wrong with my method ?

Thierry Boudet
Received on Fri Oct 16 2009 - 11:43:08 CEST

This archive was generated by hypermail 2.2.0 : Fri Oct 16 2009 - 11:43:22 CEST