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


_______________________________________________
Bug-coreutils mailing list
Bug-coreutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-coreutils

Reply via email to