From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 111c93,551288287baf9a1c X-Google-Attributes: gid111c93,public From: Bram Stolk Subject: Compaq c++ compiler and debian's binutils Date: 2000/04/10 Message-ID: <38F18253.C25398@sara.nl>#1/1 X-Deja-AN: 609001893 Content-Transfer-Encoding: 7bit References: <38E5D353.8A47DF26@chello.nl> <38EE2385.556615A8@chello.nl> <38efb943@news.adfa.oz.au> <38F03A03.9C801C23@chello.nl> <38f13f58@news.adfa.oz.au> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Organization: Stichting Academisch Rekencentrum Amsterdam Mime-Version: 1.0 Newsgroups: comp.os.linux.alpha 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" ------------------------------------------------------------------------------