1833927 Members
3227 Online
110063 Solutions
New Discussion

aC++ compile problem

 
SOLVED
Go to solution
Ben Li
Advisor

aC++ compile problem

I installed the aC++ compiler for workstations HP-UX 11.0. And try to compile a simple sample program, it comes with a error message like following:
$ aCC sample.cpp
$ /usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (sample.o) was detected. The linked output may not run on a PA 1.x system.

Can anyone help me to solve the problem?
Thanks
2 REPLIES 2
Rick Garland
Honored Contributor
Solution

Re: aC++ compile problem

What you are seeing is a warning message. From the appearance, you are compiling on a PA 2.0 system. It is telling you that the new executable may not run on a PA1.x system. You should compile on a PA1.x system then the executable will run on a PA2.X system as well. This is the backward compatibility issue. Look through the sched.models file and you will see the the different CPUs are of different PA types. Start low and you should be able to go high. But if you start high, you may not be able to go low. (For the PA types). Again, it is the backward compatibility issue.
Antoanetta Naghiu
Esteemed Contributor

Re: aC++ compile problem

1. Make sure you installed aCC from the right cdrom (700 series if workstation).
2. aCC need, depends on the version that you install same patches:
s700_800 11.00 HP aC++ (A.03.05) to fix numerous defects(PHSS_13391)
s700_800 11.x HP aC++ runtime libraries (aCC A.03.13)(PHSS_16587)
s700_800 11.00 HP aC++ (A.03.15)(PHSS_20975)
3. set up the path and libpath.
(this issue has been discussed before in the forum. Do a search in the forum by aCC key)