bug-coreutils
[Top][All Lists]
Advanced

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

Re: Cros-Compiled binaries used by host when Cross-Compiling Coreutils.


From: Jim Meyering
Subject: Re: Cros-Compiled binaries used by host when Cross-Compiling Coreutils.
Date: Tue, 17 Jul 2007 20:16:41 +0200

"Ulf Samuelsson" <address@hidden> wrote:
> I realized that the path was a problem, and I removed the "." from the PATH
> in ".bashrc" but the problems remained.
> The makefile seems to call "./rm" at some stage, and I am screwed
> Further checking now shows that the "." remains in the PATH,
> so maybe I have to logout-login. .
>
> I think the best approach is that the configure script
> figures out what the path is to these tools and uses the path.
>
> Something like this is used in the buildroot system for other things:
> ifndef HOST_RM
> HOST_RM:=rm
> endif
> HOST_RM:=$(shell $(CONFIG_SHELL) -c "which $(HOST_RM)" || type -p $(HOST_RM) 
> || echo rm)

No.  Just fix your PATH (having "." too early is a security risk, btw),
and you'll be fine.




reply via email to

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