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: Bob Proulx
Subject: Re: Cros-Compiled binaries used by host when Cross-Compiling Coreutils.
Date: Tue, 17 Jul 2007 10:35:25 -0600
User-agent: Mutt/1.5.9i

Ulf Samuelsson wrote:
> When cross-compiling coreutils-6.9 for ARM from buildroot
> I noticed that the Makefile.am and Makefile.in are using 
> rm, mv, chmod, chown.

Yes, that is correct.

> Since these commands are also built in the coreutils-6.9/src,
> the "make" in this directory will use the recently built ARM binaries
> after they have been built instead of the coreutils on the host machine.

This indicates to me that you have "." in your PATH too early.  What
is the value of your PATH?

  echo $PATH

Try adjusting your PATH to either remove "." from it entirely (many
believe it to be a security risk there) or to place it at the end of
your PATH.

> It would be better to use 
> /bin/rm, /bin/mv, /bin/chmod, /bin/chown
> when building in this directory.

No, that would be incorrect.  Using full hard coded paths is almost
always an additional source of problems.

Bob




reply via email to

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