Cross-compiling on Debian i386 for ARM Linux

From: Thierry Boudet <>
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
Configured with:
--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
--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
--run aclocal-1.10
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 `'. 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 or libcgilib.a, an the executable cgitest was a shell

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