Operating System - HP-UX
1849466 Members
5893 Online
104044 Solutions
New Discussion

Re: Itanium, PA-RISC, cross compiling

 
Robert Maiale
New Member

Itanium, PA-RISC, cross compiling

Is it possible, on an Itanium, running 11i v1.5, to build executables targeting the 32bit PA-RISC IA?

2 REPLIES 2
Steven Gillard_2
Honored Contributor

Re: Itanium, PA-RISC, cross compiling

Although I haven't seen any official documentation, I am 99% confident that this is possible. HPUX has always allowed you to compile programs for portability across all HP 9000 platforms through the +DA flag of the compiler - I assume it will be the same on Itanium.

If you compile with +DAportable it should produce a PA-RISC 1.1 executable. Check the man page for the compiler (if you're using HP aCC or ANSI C) for details.

More information about developing on Itanium can be found at:

http://www.hp.com/products1/itanium/developer/application_development.html

Regards,
Steve
T. M. Louah
Esteemed Contributor

Re: Itanium, PA-RISC, cross compiling

Depending on Compiler contructs, portability should be do-able. The following is a good technical paper if you want to go deeper in Compiler Consideration for Itanium:
http://hpdrdev.fc.hp.com/devresource/Docs/TechPapers/IA64/IA64oscompilercon.pdf
Little learning is dangerous!