Operating System - HP-UX
1825748 Members
2487 Online
109687 Solutions
New Discussion

Re: HP 11.0 and C compilers

 
George Johnson_1
Occasional Advisor

HP 11.0 and C compilers

I have a hp9k 700 series box with 11.0 running on it. I am trying to install tcpwrappers but am having touble with the makefile. It complains about the C environment and aborts its installation. Is there a free ansi C version that is good for hpux. The bundled version of C that comes with the system doesn't seem to be working well with tcpwrappers makefile.
3 REPLIES 3
Dan Hetzel
Honored Contributor

Re: HP 11.0 and C compilers

Hi,

You should install the GNU C/C++ package. It's free and ANSI compatible.

You'll find gcc at the Archive and Porting center:
http://hpux.cae.wisc.edu/hppd/hpux/Gnu/gcc-2.95.2/

Best regards,

Dan
Everybody knows at least one thing worth sharing -- mailto:dan.hetzel@wildcroft.com
Bruce Regittko_1
Esteemed Contributor

Re: HP 11.0 and C compilers

Hi,

As Dan has mentioned, get gcc from the link on his message. You will most likely need the binutils package, which can also be downloaded from the same page.

If you have problems, search the forums with the keyword gcc. There are many threads on gcc installation and troubleshooting.

The most likely reason why the bundled C compiler is not working for you is that it is not an ANSI C compiler. gcc is and should be the only C compiler you ever need.

--Bruce
www.stratech.com/training
George Johnson_1
Occasional Advisor

Re: HP 11.0 and C compilers

thanks for the info...am off to install now.