HELP! I am trying to build GNU C on an HP 9000/735 running HP-UX 9.01. I want
the binaries, libraries, includes, and man pages in /apps/gnu/{bin,lib,include,man}.
The following are the commands that I typed in:
./configure --prefix=/apps/gnu --local-prefix=/apps/gnu hp735-hpux
[Output deleted but everything OK]
make LANGUAGES=c
[Output and warnings about g option deleted and then I get this:]
cc: "/usr/local/lib/bison.simple", line 42: error 1705: Function prototypes are an ANSI feature.
*** Error code 1
So then I figure that the stock HP compiler doesn't like the #line directives in
the file, c-parse.c. I comment ALL of the lines that start with #line in c-parse.c
and run make LANGUAGES=c again and I get:
cc: "c-parse.c", line 1128: error 1705: Function prototypes are an ANSI feature.
*** Error code 1
Now I am stumped. Can someone who has built GNU C version 2.5.X shed some light
on what I am doing wrong or what I can do to get GNU C to compile?
Thanks in advance,
+--------------------------------------------------------------------------
| Name: Darren Curtis | Disclaimer: My opinion is my own! |
| Company: Battelle PNL | Theory: You cannot build a reputation |
| Phone: (509) 375-2152 | on what you are going to do! |
+--------------------------------------------------------------------------