niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » *nix » Tru64
Porting to TRU64
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
Author Message
Michael Kraemer
*nix forums Guru Wannabe


Joined: 28 Feb 2005
Posts: 220

PostPosted: Sat Jul 08, 2006 7:49 am    Post subject: Re: Porting to TRU64 Reply with quote

abybaby schrieb:
Quote:
Hi,
I have an application which is available in many platforms like HPUX64,
Solaris, Linux AIX etc. Now I am porting for the first time to TRU64.
Mt product is a pure c++ based server. I would like to know what are
the chnages that I have to make in compiler flags. The compiler which I
used in HPUX is aCC and g++ on Linux.
Also what are the different compilers available on TRU64 and which one
is the least buggy and more efficient.

well, my experience is with vanilla C only,
but I doubt it would be very different with C++:
On most platforms you have 2 choices, gcc and the vendor's compiler.
As for code analysis, gcc is probably the best tested compiler,
whereas code generation, optimization and platform support
is usually better with the vendor's product. In the past,
however, I found the DEC compilers to be unusually buggy,
when compared with e.g. gcc or xlC.

Quote:
Which one would be a eay port?
a) Porting from HPUX 64(compiler used is aCC) to TRU64
b) Porting from AIX( Compiler used is xlC) to TRU64
c) Porting from Linux x86(compiler used is g++) to TRU64
Also, if some one can refer the list of generic changes requied in the
CC_FLAGS.


This can't be answered in general, depends on the details.
If you have all compilers available, just give it a try, I'd say.
One might be tempted to use gcc all the way, but I wouldn't give
up on "proprietary" compilers too early. With a properly setup
makefile it isn't too hard to use different compilers on different
platforms. IMHO it should be even possible to use a single makefile
for all platforms.
Back to top
abybaby
*nix forums beginner


Joined: 23 Sep 2005
Posts: 2

PostPosted: Wed Jul 05, 2006 11:38 am    Post subject: Porting to TRU64 Reply with quote

Hi,
I have an application which is available in many platforms like HPUX64,
Solaris, Linux AIX etc. Now I am porting for the first time to TRU64.
Mt product is a pure c++ based server. I would like to know what are
the chnages that I have to make in compiler flags. The compiler which I
used in HPUX is aCC and g++ on Linux.
Also what are the different compilers available on TRU64 and which one
is the least buggy and more efficient.
Which one would be a eay port?
a) Porting from HPUX 64(compiler used is aCC) to TRU64
b) Porting from AIX( Compiler used is xlC) to TRU64
c) Porting from Linux x86(compiler used is g++) to TRU64
Also, if some one can refer the list of generic changes requied in the
CC_FLAGS.
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [2 Posts] View previous topic :: View next topic
The time now is Sat Nov 22, 2008 4:16 am | All times are GMT
navigation Forum index » *nix » Tru64
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts AlphaServer/Tru64 reliability daveGPearson Tru64 0 Fri Mar 28, 2008 10:00 am
No new posts AlphaServer/Tru64 reliability daveGPearson Tru64 0 Fri Mar 28, 2008 9:59 am
No new posts porting linux2.6 on ARM922T based board noor.fatma@gmail.com embedded 0 Fri Jul 21, 2006 6:23 am
No new posts Comparing Tru64 UNIX and HP-UX System Management Tools lmcgaughey@parsec.com Tru64 0 Wed Jul 19, 2006 6:52 pm
No new posts Patches for tru64 V5.1A Padiyath Sreekumaran Tru64 managers mail-list 0 Tue Jul 18, 2006 7:42 am

Mortgages | Remortgages | Mortgage Loans | Babb Fest | Die Casting Company
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1578s ][ Queries: 20 (0.0854s) ][ GZIP on - Debug on ]