Cros-Compiled binaries used by host when Cross-Compiling Coreutils.
From:
Ulf Samuelsson
Subject:
Cros-Compiled binaries used by host when Cross-Compiling Coreutils.
Date:
Tue, 17 Jul 2007 15:36:10 +0200
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.
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.
It would be better to use
/bin/rm, /bin/mv, /bin/chmod, /bin/chown
when building in this directory.
Best Regards
Ulf Samuelsson