Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!sol.ctr.columbia.edu!emory!ogicse!uidaho!wallaby.mrc.uidaho.edu!smith From: smith@wallaby.mrc.uidaho.edu Newsgroups: comp.sys.hp Subject: Re: Switching from Sun to HP: some general questions Message-ID: <1991Apr13.051551.13431@groucho> Date: 13 Apr 91 05:15:51 GMT References: <7370361@hpfcso.FC.HP.COM> <1991Apr13.005946.9689@nntp-server.caltech.edu> Sender: wsmith@groucho.mrc.uidaho.edu Organization: University of Idaho Lines: 36 Nntp-Posting-Host: wallaby.mrc.uidaho.edu In article <1991Apr13.005946.9689@nntp-server.caltech.edu> anthony@nntp-server.caltech.edu (Lawrence Anthony) writes: >In article <7370361@hpfcso.FC.HP.COM> lang@hpfcso.FC.HP.COM (John J. Lang) writes: >>/ hpfcso:comp.sys.hp / jjc@jclark.UUCP (James Clark) / 6:38 am Apr 8, 1991 / >>> How reliable is the standard C compiler? Are the higher optimization >>> levels sufficiently reliable to be usable? Is ANSI C included with >>> HPUX or available separately? >> >>I think ANSI C is included, and uses the same optimizer. > >my local hp sales rep tells me that C/ANSI C is NOT bundled with the base >HPUX operating system. he claims that HPUX includes a stripped-down version >of the C compiler that contains neither a debugger nor an optimizer. (pretty >slimy, if you ask me.) any hp folk care to confirm or refute this claim? This is wrong. First of all, C for the 800/700 series is ANSI complient. The C for the 300/400 series is not ANSI, is a very nice full featured C with many ANSI extensions. On the 300/400 version of HPUX 7.0 there is a ANSI C preprocessor (/lib/cpp.ansi). This leads me to believe the rumer that I have heard that HPUX 8.0 will have ANSI C for all hardware platforms. The compiler seems to be mostly bug free. We have compiled tens of thousands of lines of code and have had no noticable problems. The compiler does have an optimizer. Its good, but doesn't seem to be quite as good as gcc. HPUX also contains cdb as a standared debugger. This works in split screen mode and works fairly well. William Smith Microelectronics Research Center University of Idaho, Moscow, ID 83843 (208)885-6500 E-mail: wsmith@groucho.mrc.uidaho.edu