Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!usc!snorkelwacker.mit.edu!bloom-beacon!eru!hagbard!sunic!kuling!irf From: irf@kuling.UUCP (Bo Thide') Newsgroups: comp.sys.hp Subject: Re: C++ distribution and update. Message-ID: <1862@kuling.UUCP> Date: 8 Jan 91 10:43:31 GMT References: <1370@prcrs.UUCP> Reply-To: bt@irfu.se (Bo Thide') Distribution: comp Organization: Dept. of Computer Systems, Uppsala University, Sweden Lines: 64 In article <1370@prcrs.UUCP> paul@prcrs.UUCP (Paul Hite) writes: >In article , beshers@cs.columbia.edu (Clifford Beshers) writes: >> I've just received my HP C++ compiler and discovered that update >> dumps core with a floating point exception when it tries to read >> the tape. The contents of the tape seem okay; I can extract them with >> tar and everything seems to work. However, I can't get update to >> work from disk, nor from tape. We are running HPUX version 7.0. > >Well, I'm not sure what you mean by "get update to work from disk, nor >from tape." But you're right, the 7.0 update does not understand the c++ >tape. The tape seems to be an ordinary tar archive and as you report, >just tar'ing the stuff off seems to work fine. > >Sorry for the delay in responding but I just got around to trying our C++ >tape. > >Paul Hite PRC Realty Systems McLean,Va uunet!prcrs!paul (703) 556-2243 > You can't tell which way the train went by studying its tracks. Hmm.. I didn't have any problems adding C++ to my HP9000/400t (HP-UX 7.03) with the 'update' command. Everything went as expected. I even went through the update process twice to make absolutely sure I didn't miss any error messages or other strange things the first time. The label on my C++ cartridge says: HP C++ LANGUAGE HP9000 SERIES 300 HP-UX CART 1 OF 1 UPDATE Format p/n B1691-19002 Rev. 0700 (plus copyright notices from HP, Univ. of Calif., Univ. of Colo., AT&T, Sun, Digital, MIT, and Stanford Univ.) Maybe you should check and see if we have the same version of C++ update cartridge ..? Adding C++ to my system gave me another "problem". I now seem to have three different HP C (cc) compilers: /bin/cc (the usual 7.0/7.03 compiler) /usr/softbench/bin/cc (the one I got with SoftBench/Encapsulator) /usr/CC/bin/cc (the one in the C++ package, with ANSI support) Am I right in assuming I can replace /bin/cc with /usr/CC/bin/cc and get one with full ANSI support and dynamic internal table sizes? Benchmarking with Dhrystone 2.1 (no registers) gives about 17600 dhrys/sec for /bin/cc and about 17500 dhrys/sec for the other two. I am not sure if this difference is significant (I didn't run enough times to narrow down the error bars). Bo bt@irfu.se ^ Bo Thide'-------------------------------------------------------------- |I| Swedish Institute of Space Physics, S-755 91 Uppsala, Sweden |R| Phone: (+46) 18-303671. Telex: 76036 (IRFUPP S). Fax: (+46) 18-403100 /|F|\ INTERNET: bt@irfu.se UUCP: ...!uunet!sunic!irfu!bt ~~U~~ -----------------------------------------------------------------sm5dfw