automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cross-compile tar-1.13


From: Ralf Wildenhues
Subject: Re: Cross-compile tar-1.13
Date: Sun, 31 Aug 2008 05:21:16 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

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

[Prev in Thread] Current Thread [Next in Thread]