Hi Paul,

Sorry, I wasn't explicit enough.  When I say "cross-compile binutils", I
mean exactly that: I'm building binutils with a cross-compiler, so that
the resulting executable will run on a different architecture.

Ah OK, I understand now.

But, when I look at the binutils/Makefile, I see that the STRIP variable
is simply set to "strip", not the cross-compiler version of "strip".  So
if I invoke "make install-strip" directly from within the binutils
subdirectory rather than from the top level, the cross-compiler version
of STRIP is not set and it tries to use "strip" instead... which fails.

Understood. How about adding the definition of the STRIP environment variable to the make command line ? ie:

  % cd <builddir>/binutils
  % make STRIP=powerpc-linux-gnu-strip install-strip

Cheers
  Nick




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

Reply via email to