Re: Trouble cross compiling

On 07/07/06 08:41, Jesper Larsen wrote:
> My next (minor) problem is that the host strip command is used instead
> of the target strip command. (In my case strip instead of
> powerpc-linux-strip).
> Because of this, "make install" fails.
> 
> I can work around it, but I guess it can be fixed in the configure script?
> 
> Do you know how I can fix it?

Is this for comedilib?  I don't think comedi strips anything, although
it checks for the strip program twice, and looks for the host strip,
rather than the cross-compiled target strip.

Assuming you are having problems with strip in comedilib, this is
supposed to be taken care of automatically.  Do you have this line in
comedilib's aclocal.m4 file? :

AC_CHECK_TOOL(STRIP, strip, :)

(That's _not_ a smiley on the end!)

Earlier versions of aclocal may emit a shorter version of the
AC_CHECK_TOOL macro without the third parameter, i.e.
AC_CHECK_TOOL(STRIP, strip).

Also, what does "grep strip config.log" produce?

-- 
-=( 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-07Z10:53:31