This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Building libstdc++-2.90.7 using gcc-2.95.3 on Redhat Linux 7.1



On Wed, 23 May 2001, Phil Edwards wrote:

> On Thu, May 17, 2001 at 03:49:13PM -0300, Alexandre Oliva wrote:
> > On May 17, 2001, Roscoe A Bartlett <roscoe@andrew.cmu.edu> wrote:
> > 
> > > I can't get gcc 2.95.3 to build libstdc++ 2.90.7 (as a separate library)
> > > on this computer.
> > 
> > Note that the fact that a patch was needed for GCC 2.95.2 to build
> > with glibc 2.2 was one of the reasons why 2.95.3 was released.  You
> > probably need a similar patch for libstdc++ 2.90.7.  See the
> > platform-specific installation instructions for the patch for GCC, and
> > see if it applies to libstdc++.
> 
> The concept applies, but not the patch.  :-)  The library to use with
> GCC 2.95.3 is 2.90.8, plus a patch which I shall post shortly via
> http://gcc.gnu.org/libstdc++/status.html .

Phil,

Could you point me to proper installation instructions for using
libstdc++-2.90.8 with gcc-2.95.3?  The instructions at

  http://gcc.gnu.org/onlinedocs/libstdc++/install.html

don't quite seem to be correct.  For instance, the instructions for
setting up the source directories state:

-----------------------------------------------------------------------

Unpack the gccsrcdir and go into that directory. For instance,
gcc-2.95.2 is a valid gccsrcdir. Once in gccsrcdir, you'll need to rename
or delete the libstdc++-v3 directory which comes with that
snapshot: 

      mv libstdc++-v3 libstdc++-v3-previous  [OR]
      rm -r libstdc++-v3

Next, unpack the libstdc++-v3 library tarball into the gccsrcdir
directory; it will create a libsrcdir called libstdc++-version: 

      gzip -dc libstdc++-version.tar.gz | tar xf -

Finally, make a soft link between libsrcdir and libstdc++-v3 so that
libstdc++-v3 will be the default C++ library used. 

      ln -s libsrcdir libstdc++-v3

--------------------------------------------------------------------

The problem is that for gcc 2.95.2 and 2.95.3 there is no directory
'gccsrcdir/libstdc++-v3'.  There is only a single directory named
'gccsrcdir/libstdc++'?  How can I modify these installation instructions
to get this to work?

Thanks,

Roscoe

 --------------------------------------
|  Roscoe Bartlett                     |
|  Ph.D. student                       |
|  Department of Chemical Engineering  |
|  Carnegie Mellon University          |
|  email: roscoe@andrew.cmu.edu        |
|  work phone: (412) 268 - 2238        |
 --------------------------------------


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]