> We currently have a K380 server with HPUX 10.20 and PA-8200 CPUs.
> We're considering buying a C3600 workstation with the PA-8600 CPU and
> HPUX 10.20 for development.
> Will applications compiled on the C3600 workstation run without
> recompilation on the K380 server?
Quote:> If not, is there an option in the HP C compiler to target older,
> slower CPUs such as the PA-8200 CPUs?
The scheduler can be optimized for different CPUs, but the instruction
set is the same.
From the ANSI C++ compiler documentation:
model can be either a model number of an HP 9000 system
(such as 725, 890, or G40), PA-RISC architecture designation
1.1 or 2.0, or one of the PA-RISC processor names such as
PA7000, PA7100, PA7100LC, or PA8000. See the file
/opt/langtools/lib/sched.models for model numbers and
Performs instruction scheduling tuned for a particular
implementation of the PA-RISC architecture.
Object code with scheduling tuned for a particular model
will execute on other HP 9000 systems, although possibly
If you specify neither a +DA nor a +DS option, default
instruction scheduling is based on that of the system on
which you compile. If you do specify a +DA option and do not
specify a +DS option, default instruction scheduling is
based on what you specify in +DA, and not based on that of
the system on which you compile.
The ANSI C and HP C++ compilers have similar documentation.