1753618 Members
5922 Online
108797 Solutions
New Discussion юеВ

Re: cc Compiler and aC++

 

cc Compiler and aC++

Hello guys,

Sorry for the foolish question, but I've to understand it. When I execute "cc", it means that I am running HP C++ (cfront)?
If it's true, this compiler hasn't HP support anymore since 2001?

Thanks,

Vlad.
2 REPLIES 2
harry d brown jr
Honored Contributor

Re: cc Compiler and aC++

try this (what + which):

[root@vpart1 /home/hbrown]# what `which cc`
/usr/bin/cc:
$Revision: 92453-07 linker linker crt0.o B.11.16.01 030316 $
LINT B.11.11.29484.GP CXREF B.11.11.29484.GP
HP92453-01 B.11.11.29484.GP HP C Compiler
$ PATCH/11.00:PHCO_27774 Oct 3 2002 09:45:59 $
[root@vpart1 /home/hbrown]#

live free or die
harry d brown jr
Live Free or Die
Stuart Abramson
Trusted Contributor

Re: cc Compiler and aC++

1. HP makes more than one C compiler.

/usr/bin/cc Basic cc included with HP-UX.
/opt/ansic/bin/cc C/ANSI-C

2. C/ANSI-C:

# swlist | grep -i ansi
B3901BA B.11.00 HP C/ANSI C Developer's Bundle fo
r HP-UX 11.00 (S800)

Then they make C++ compilers:

1. HP's C++ compiler is:

# swlist | grep aC
B3913DB C.03.37.01 HP aC++ Compiler (S800)

2. The compiler is located at:

/opt/aCC/bin/aCC

3. Ensure that your PATH contains:

/opt/aCC/bin