This is the mail archive of the libstdc++@sourceware.cygnus.com mailing list for the libstdc++ project.


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

Re: bugs: gcc with stdc++-v3, rawhide's gcc, stlport, cxxrt


On 06 Jul 2000 at 17:49 (+0200), Levente Farkas wrote:
| hi,
| after I spending many days try to build a gcc rpm (since I hate install 
| anything from tar ball (or make install)) which contains the
| latest snapshot of gcc with stdc++-v3 (ie. the latest standard c++ library) 

[ snipped ]

| so after that I'm really don't know, nobody use c++ on linux (or at least 
| use without need a good standard c++ library) or they install it manualy
| and more clever than me ?

not more clever, I just tried all possible combinations (a script that
ran for a long, long, long time) and finally found a reliable combination.
atleast reliable enough for my purposes.

grab gcc-20000619 snapshot (either cvs or via ftp)
rm -rf libstdc++-v3 from the snapshot
cvs the most recent libstdc++-v3
make a build dir parallel to the $SRC_DIR and configure it with:
  ../${SRC_DIR}/configure --prefix=${INSTALL_PREFIX}             \
              --enable-libstdcxx-v3 --enable-threads=posix       \
              --enable-long-long --enable-cshadow-headers        \
              --enable-namespaces --enable-languages=c,c++

this works for me. you may get snagged by the -Werror failure,
but can circumvent this.

also, my binutils have been patched as suggested in
  http://sourceware.cygnus.com/ml/libstdc++/2000-06/msg00138.html
(versions binutils-2.10.0.9 and binutils-2.9.5.0.46, known to work
 with this patch, though not _sure_ if it's necessary for the 
 2.10.9 release)

btw, I'm writing a script that will automate these steps, so if you'd
like I can send it to you later (for me) today after I get time to 
finish it.

hth.
  brent

-- 
Damon Brent Verner                        o      _     _         _
Cracker Jack? Surprise Certified  _o     /\_   _ \\o  (_)\__/o  (_)
brent@rcfile.org                _< \_   _>(_) (_)/<_    \_| \   _|/' \/
brent@linux1.org               (_)>(_) (_)        (_)   (_)    (_)'  _\o_

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