1834602 Members
4233 Online
110069 Solutions
New Discussion

Re: gcc on hp-ux 11.0

 
sunil_7
Occasional Advisor

gcc on hp-ux 11.0

http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.0.1/

As Mr. Suntosh asked, I have downloaded gcc from the above mentioned site. I want to know, as by default on hpux11.0 it is aCC header files and libraries, which are set. When we compile the code with g++ will it automatically include the header files of gcc and while linking take libraries of gcc, rather than aCC. I am not including any path for header files of gcc as it gives the errors.
2 REPLIES 2
Pheilon Zhou
Honored Contributor

Re: gcc on hp-ux 11.0

You do not need to do anything.
By default, in HP-UX, the header files are most under "/usr/include".
Santosh Nair_1
Honored Contributor

Re: gcc on hp-ux 11.0

I'm not sure I understand the problem. The aCC compiler uses the aCC header and library files, so this isn't a "default" by any means. The GNU compiler, i.e. gcc and g++, have their own set of libraries and includes which get loaded. There is not need to specify any options. This is the proper behavior.

-Santosh
Life is what's happening while you're busy making other plans