On Sun, Aug 31, 2008 at 11:21 AM, Ralf Wildenhues
<[EMAIL PROTECTED]> wrote:
> 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.
>

Yes, it is 2.13 automake, I found the information in the comments of
'configure' script itself.  But what you told './configure arm-linux'
did not work neither ( it still use gcc instead of arm-linux-gcc). I
attached the output for you information, please help if possible.
Thanks in advance.

-
woody

Attachment: config.log
Description: Binary data

Reply via email to