1753420 Members
5023 Online
108793 Solutions
New Discussion юеВ

Cross compiler

 
SOLVED
Go to solution
Blanche
Occasional Advisor

Cross compiler

a stupid question but I need an answer:
Is it possible to build an Itanium program with a PA-RISC compiler on a PA-RISC system?
3 REPLIES 3
Volker Borowski
Honored Contributor

Re: Cross compiler

Blanche,
this is not stupid, but at least unusual.

This should be possible, but I do not know of an existing product. I do not believe, that any efforts in such a project will be highly rewarded.

I think a good point to start would be to have the sources of a compiler for itanium-architecture as a starting point, and then try to compile this on PA.

There will be a lot of work in addition....

For what do you need this ?
Volker
Volker Borowski
Honored Contributor
Solution

Re: Cross compiler

Interesting topic....
...just did some research.

http://www.hp.com/products1/itanium/advantage/aries.html

May be this is of help (although it is the other way round!)
Volker
A. Clay Stephenson
Acclaimed Contributor

Re: Cross compiler

Hi:

I can't find any options on the latest c, C++ compilers on PA-RISC for cross compilation. I think HP's answer to this is two-fold:
1) If possible move the source to Itanium and recompile.
2) Run the native PA-RISC code unchanged under the ARIES emulation environment. At present most code runs about 6X slower than native but that is not as bad as it sounds because typically most unix programs are not waiting on the CPU. The real life performance hit is almost certainly much less (other than for very computationally intensive applications).

Clay
If it ain't broke, I can fix that.