View Single Post

   
  #3 (permalink)  
Old 01-16-2008, 07:04 PM
Rick Jones
 
Posts: n/a
Default Re: Can HP-UX on Itanium compile and run 32-bit applications?

Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote:
> "Allon Dafner" <allon.dafner@gmail.com> writes:
>> 1. Does the aCC compiler, on Itanium, support 32-bit applications


> Most definitely:


> $ aCC -c junk.c
> $ file junk.o
> junk.o: ELF-32 relocatable object file - IA64


As you can see, the default is 32-bit.

When you are ready to compile 64-bit you would add +DD64 to the
compile flags. The docs/manpages for aCC may also describe settings
to enable more complete warnings and/or warnings for 64-bit migration.

rick jones
--
oxymoron n, Hummer H2 with California Save Our Coasts and Oceans plates
these opinions are mine, all mine; HP might not want them anyway...
feel free to post, OR email to raj in cup.hp.com but NOT BOTH...
Reply With Quote