Hello Deepak, Eric,
Eric Blake <ebb9 <at> byu.net> writes:
> According to Deepak Barua on 9/20/2008 11:12 PM:
> > I was just cross compiling my MIPS64 platform when i
> > noticed a major error in coreutils - 6.12 the "src/ginstall" which is
> > compiled , is compiled in the target architecture instead of the host
> > , so i
> > had to recompile coreutils in host architecture and copy the "ginstall"
> > binary to "src/ginstall" overwriting the target arch "ginstall" and then the
> > "make install" commmand worked fine and coreutils was installed .
>
> Yes, that is a bug. Coreutils should only use the just-built ginstall for
> installation when doing native compiles, and not when doing
> cross-compiles. But it looks like this has already been fixed in git:
>http://git.savannah.gnu.org/gitweb/?p=coreutils.git;a=commitdiff;h=d990306
Hmm, actually the motivation for this patch was not to fix a bug, but to exploit
improved automake, and not use an internal automake detail any more.
If the patch also happened to fix a bug, all the better. But it's not clear
to me. Deepak, can you post your configure command line and the output of
'make install' that shows the failure?
Besides, I just found a bug with above patch, just a minute...
Thanks,
Ralf