Usenet comp.os.linux.alpha (1997-2013)
 help / color / mirror / Atom feed
From: Bram Stolk <bram@sara.nl>
Subject: Compaq c++ compiler and debian's binutils
Date: 2000/04/10	[thread overview]
Message-ID: <38F18253.C25398@sara.nl> (raw)
In-Reply-To: 38f13f58@news.adfa.oz.au

James Macnicol wrote:

> 
> > linking still fails, so I will try your suggestion to
> > install compaq's binutils.
> 
>   Yep.  However this seems to have nasty side-effects on the Debian
> packaging system since if you have the Compaq binutils (which is
> 2.9.1.something) then the gcc package (which requires 2.9.5.something)
> has an unsatisfied dependency which stuffs things up if you try to
> install extra software on your machine.  Of course you don't
> necessarily want the extra C compiler but you do need the headers from
> that package and you can't compile the kernel with ccc.  I'm not too
> experienced with the Debian package management stuff so if someone can
> show me how to make this work I'd be grateful.

I've made a bug-report to debian about binutils/ld on dec-alpha.

For now, I reinstall debian's binutils, every time I install new 
packages on my system.
When I am done upgrading, I "downgrade" binutils again to
compaq/redhat's version.

By the way: I always thought g++ was slow. (not the code it produces,
but the compiler itself).
However, cxx is a lot slower, even without optimization turned on!

> > I wonder: did you try STL templates?
> > It looks like the following templates are missing:
> >   multiset
> >   multimap
> >   hash_set
> >   hash_multise
> >   hash_map
> >   hash_multimap
> 
>         I can't say I've tried any of these.  My code (which I haven't had
> time to try to compile fully yet) only uses std::string and std::vector.
> 
> > using gcc's templates from /usr/include/g++-3 does not work.
> 
>         Hmm, this is interesting in itself.  Isn't the STL code more-or-less
> portable (it comes from the SGI STL after all) ?

it looks like it's not fully portable.
Most compilers ship their own version, and compaq's version has quite
a few custom #ifdefs in it.

For the time being, I've replaced my std::hash_map's with std::map's.

  Bram

> 
> --
> James Macnicol
> j-macnicol@adfa.edu.au

-- 
------------------------------------------------------------------------------
 Bram Stolk, VR Specialist.
 SARA Academic Computing Services Amsterdam, PO Box 94613, 1090 GP  AMSTERDAM
 email: bram@sara.nl   Phone +31-20-5923059  Fax +31-20-6683167

 "I heard if you play the NT-4.0-CD backwards, you get a satanic message."
 "Thats nothing, if you play it forward, it installs NT-4.0"
------------------------------------------------------------------------------



  reply	other threads:[~2000-04-10  4:00 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-04-01  5:00 Compaq's c++ succesfully runs under Debian woody Abraham Theodorus Stolk
2000-04-03  4:00 ` Compaq C/C++ Team
2000-04-04  4:00   ` Greg Lindahl
2000-04-04  4:00     ` Bram Stolk
2000-04-04  4:00       ` Alex Rhomberg
2000-04-04  4:00         ` Bram Stolk
2000-04-04  4:00         ` Compaq C/C++ Team
2000-04-07  4:00 ` Abraham Theodorus Stolk
2000-04-09  4:00   ` James Macnicol
2000-04-09  4:00     ` Abraham Theodorus Stolk
2000-04-10  4:00       ` James Macnicol
2000-04-10  4:00         ` Bram Stolk [this message]
2000-04-10  4:00           ` Compaq c++ compiler and debian's binutils Goswin Brederlow
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox