On Thu, 7 Jan 1999, Vadim Vygonets wrote:
> > the compiler you have is called the "braindead C-compiler" because it
> > can't compile anything beside a kernel. You either have to get a copy of
> > gcc from the HPUX Software Porting Archives (forget about compiling it
> > with bdcc) or to buy the ANSI cc from HP.
>
> Just for puns: what is the official name of bdcc? And what is so
> bad about it? Except that it compiles K&R code only.
- The HP-UX bundled C compiler comes with the OS
- HP-UX ANSI C compiler costs about $900 US
Personally, I wouldn't use anything but the ANSI C compiler. gcc works
for compilation, but it doesn't know squat about PA-RISC chips past the
1.0 rev. Since then, HP has come out with PA-RISC 1.1, 2.0, and 2.1, each
with better features. gcc will compile for them, but it doesn't produce
anywhere near the optimization that HP's compiler does.
I took the gcc road when we moved from FreeBSD to HP-UX because I was
familiar with it. After 6 months, I had to go and re-port everything over
when we realized that gcc wasn't going to do it for us long-term. If I
could give advice to any new HP-UX admin: don't use gcc if you can afford
the ANSI C compiler. Based on the cost of even the lowest HP workstation,
that usually isn't a problem.
--
j.
James FitzGibbon james@???
System Engineer, ACC Global Net Voice/Fax (416)207-7171/7610
--
*** Exim information can be found at
http://www.exim.org/ ***