Re: Trouble cross compiling

On 09/07/06 12:19, Jesper Larsen wrote:
> Ian Abbott wrote:
> 
>> On 07/07/06 13:53, Jesper Larsen wrote:
>>> checking for strip... (cached) /usr/bin/strip
>>>
>>> So it is actually checking for powerpc-linux-strip, but when running
>>> make install it uses strip:
>>>   
>>
>> So there are three checks for strip altogether (or two checks if _not_
>> cross-compiling), all but the first of which are wrong.  I think you can
>> fix it as follows:
>>
>> In 'configure.ac', look for "AC_PATH_PROG(STRIP,strip)" (line 35).
>> Change "AC_PATH_PROG" to "AC_PATH_TOOL".  Also, you might as well change
>> "STRIP" to "[STRIP]" and "strip" to "[strip]" for consistency.
>>
>> Do the same thing in 'm4/as-modtool.m4' (line 31).
> 
> That fixed it, thank you.
> 
> Will this be fixed in CVS? (should I submit a patch?)

I've just changed it in CVS.

-- 
-=( Ian Abbott _at_ MEV Ltd.    E-mail: <abbotti_at_mev.co.uk>        )=-
-=( Tel: +44 (0)161 477 1898   FAX: +44 (0)161 718 3587         )=-

Received on 2006-07-10Z09:33:02