Hello Steven,

* Steven Woody wrote on Sat, Aug 30, 2008 at 05:10:06PM CEST:
> 
> For some reasons I need to cross-compile a tar-1.13, the target is ARM
> and the build host is i686-pc-linux-gnu.  The tar-1.13's source come
> with a configure, that seems generated from a very old version of
> automake.  For recent automake version, I have success experience to
> do cross-compiling, that is, specify a '--host=arm-linux' when running
> the 'configure' script.  But for the tar-1.13's configure script, I
> failed to do it.  I tried the following method:
> 
> 1,  configure --host=arm-linux
> 2,  configure --target=arm-linux
> 3,  configure --host=arm-linux --build=i686-pc-linux-gnu
> 
> but all failed:  the 'configure' script did not try to find
> arm-linux-gcc, it still using gcc as compiler.  So I think, I did not
> active the cross-compiling in the script.

You did not mention which Autoconf version this tar's configure script
was created with.  It should be mentioned near the head of the script
somewhere.

Please try
   ./configure arm-linux

which was IIRC the way to do it with Autoconf 2.13.

Hope that helps.

Cheers,
Ralf


Reply via email to