Unix Technical Forum

HP-UX PA-RISC to HP-UX Itanium migration

This is a discussion on HP-UX PA-RISC to HP-UX Itanium migration within the HP-UX Operating System forums, part of the Unix Operating Systems category; --> Hi, We have to port our application from PA RISC to Itanium. We are using aCC compiler. Can I ...


Go Back   Unix Technical Forum > Unix Operating Systems > HP-UX Operating System

Register FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-16-2008, 07:16 PM
chugh_alok@hotmail.com
 
Posts: n/a
Default HP-UX PA-RISC to HP-UX Itanium migration

Hi,

We have to port our application from PA RISC to Itanium. We are using
aCC compiler. Can I get list of aCC flags that are used for PA-RISC
systems but not usable on IPF systems. Like +DD64 would be used for
PA-RISC but not for IPF. List of such aCC flags... to avoid possible
aCC pitfalls while porting.

Thanks
Alok

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-16-2008, 07:16 PM
Rick Jones
 
Posts: n/a
Default Re: HP-UX PA-RISC to HP-UX Itanium migration

chugh_alok@hotmail.com wrote:
> We have to port our application from PA RISC to Itanium. We are using
> aCC compiler. Can I get list of aCC flags that are used for PA-RISC
> systems but not usable on IPF systems. Like +DD64 would be used for
> PA-RISC but not for IPF. List of such aCC flags... to avoid possible
> aCC pitfalls while porting.


I suspect there is something akin to such a writeup at
devresource.hp.com or the DSPP.

In the specific case of +DD64, that flag _is_ used on both PA-RISC and
IPF. The "compile 64 bit" flag that would be PA-specific would be
+DA2.0w. FWIW, the default compilation mode on HP-UX/IPF is still
32-bit.

rick jones
--
The glass is neither half-empty nor half-full. The glass has a leak.
The real question is "Can it be patched?"
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to rick.jones2 in hp.com but NOT BOTH...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-16-2008, 07:16 PM
Mike Stroyan
 
Posts: n/a
Default Re: HP-UX PA-RISC to HP-UX Itanium migration

chugh_alok@hotmail.com wrote:
> We have to port our application from PA RISC to Itanium. We are using
> aCC compiler. Can I get list of aCC flags that are used for PA-RISC
> systems but not usable on IPF systems. Like +DD64 would be used for
> PA-RISC but not for IPF. List of such aCC flags... to avoid possible
> aCC pitfalls while porting.


There are many software transition tools available at
http://devrsrc1.external.hp.com/STK/

The specific list of cc and aCC flags that are not supported on
IPF is available at
http://devrsrc1.external.hp.com/STK/impacts/i745.html

The biggest single change in moving from aCC on PA-RISC to IPF is the
change of the default mode from -AP to -AA. That is change from a
classic C++ runtime to standard C++ runtime. Both settings are
available on both PA-RISC and IPF. The default changes going to IPF.
You can't mix the two settings in one process. Your code and all the
c++ libraries that you link with must match. So which one you use
might be dictated by the mode used by third party libraries that need.
The change is discussed in detail at
http://h21007.www2.hp.com/dspp/tech/...1,5520,00.html

That is one of many topics covered by links off of the aC++ home page at
http://h21007.www2.hp.com/dspp/tech/...3,1740,00.html

--
Mike Stroyan, mike.stroyan@hp.com
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-16-2008, 07:16 PM
chugh_alok@hotmail.com
 
Posts: n/a
Default Re: HP-UX PA-RISC to HP-UX Itanium migration

Thanks very much!!

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-16-2008, 07:16 PM
Dennis Handly
 
Posts: n/a
Default Re: HP-UX PA-RISC to HP-UX Itanium migration

: We have to port our application from PA RISC to Itanium. We are using
: aCC compiler. Can I get list of aCC flags that are used for PA-RISC
: systems but not usable on IPF systems. Like +DD64 would be used for
: PA-RISC but not for IPF. List of such aCC flags... to avoid possible
: aCC pitfalls while porting.

The simplest way is to just compile on IPF and look at the driver warnings.
But Mike has a good pointer.

Though that is old and now +u# and +Ofailsafe have been implemented for
some time.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 08:48 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com