[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Can't run "install-strip" in binutils 2.18 ... ?

From: Nick Clifton
Subject: Re: Can't run "install-strip" in binutils 2.18 ... ?
Date: Tue, 21 Oct 2008 15:38:09 +0100
User-agent: Thunderbird (X11/20080723)

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


reply via email to

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