Operating System - HP-UX
1834136 Members
2023 Online
110064 Solutions
New Discussion

ANSI C compiler problem in HP-UX 10.20

 
Pulax Huang
Occasional Contributor

ANSI C compiler problem in HP-UX 10.20

Recently I have to compile some Oracle PRO*C programs in a system : HP-UX 10.20
fro HP workstation, Oracle 7.3.4 for HP-UX, PRO*C pre compiler will change the
*.pc files to *.c Files,then use cc to Compile the *.c files.But in my OS
platform,It only has a Bundeld C compiler,and tell me it can not support ANSI
C.How can I do?Where is there a ANSI C compiler to work in HP-UX 10.20? or I
can use PRO*C to generate codes recognized by Bundled C ? What is different
between Bundled C and ANSI C? (In my another workstation running HP-UX 9, I can
find ANSI C)
2 REPLIES 2
Anthony Goonetilleke_1
Regular Advisor

Re: ANSI C compiler problem in HP-UX 10.20

The C compiler that comes with the OS is not the full ansi C compiler, you can
purchase this from HP. If you want a cheap alternative try gcc (GNU cc).
You can get a it from http://hpux.cs.utah.edu/
after the installation it would be good to install the latest version from the
source

Re: ANSI C compiler problem in HP-UX 10.20

Dont forget the the gcc from the HP-UX porting center also needs GNU binutils !
Without it, you don't get anything compiled...