[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with strip (binutils-2.11.2)
From: |
Beat Mueller |
Subject: |
Re: Problem with strip (binutils-2.11.2) |
Date: |
Fri, 12 Oct 2001 10:36:02 +0200 (MET DST) |
Hi Nick
>
> > This is quite bizarre, even /usr/ccs/bin/strip behaves differently.
> >
> > what /usr/ccs/bin/strip yields:
> > SunOS 5.7 Generic Patch August 2000
>
> Umm, do you mean with the -V option ? If so then I get:
I meant the what-command:
what what (1) - extract SCCS version information from a file
>
> /usr/ccs/bin/sparcv9/strip: Software Generation Utilities (SGU) Solaris-ELF
> (4.0)
>
> Does this mean that we have different compiler tools installed on our
> Solaris systems ?
strip -V:
/usr/ccs/bin/sparcv9/strip: Software Generation Utilities (SGU) Solaris-ELF
(4.0)
So it is the same. But ccs-strip was the one that worked.
>
> > # This file was generated automatically by configure. Do not edit.
> > # This directory was configured as follows:
> > ./configure --host=sparc-sun-solaris2.7 --norecursion
>
> Which is exactly what I have too.
>
> I think that it must be a problem with the tools that we are using to
> build strip. My system has gcc installed before cc in my path, so I
> build using gcc v2.96 (well a close variant of that actually...). Is
> it possible for you to try rebuilding the binutils tools using an
> installed copy of gcc instead of cc ?
gcc is first in $PATH, i. e. before Sun-cc. When I just type ./configure
the script tries to use gcc, only if I start it with "env CC=cc ./configure"
it uses Sun-cc.
For the CVS-version (binutils-011009) I used simply ./configure, so it was
compiled with gcc.
I compiled gcc 3.0.1 itself with gcc 2.95.2. But I don't think that can be
the reason because strip failed to compile correctly with both versions of
gcc.
Cheers
Beat
--
Beat Müller
Institut für Elektronik
ETH Zürich - Schweiz
address@hidden