From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,e65ad2647452abc1 X-Google-Attributes: gidfa528,public X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news2.google.com!news1.google.com!news.germany.com!newsfeed01.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail From: Michael Kraemer Newsgroups: comp.unix.tru64 Subject: Re: Porting to TRU64 Date: Sat, 08 Jul 2006 09:49:22 +0200 Organization: T-Online Message-ID: References: <1152099525.078179.283910@m79g2000cwm.googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Trace: news.t-online.com 1152344938 01 19803 Dgh5vprv-3G9y5R 060708 07:48:58 X-Complaints-To: usenet-abuse@t-online.de X-ID: S3YVvyZfgeqJR557ebIDMwlL8-HUWcdlxYpCLWBLnxNYZzW+G6CIZL User-Agent: Mozilla/5.0 (OS/2; U; Warp 4.5; de-DE; rv:1.3) Gecko/20030616 X-Accept-Language: en-us, en In-Reply-To: <1152099525.078179.283910@m79g2000cwm.googlegroups.com> Xref: g2news2.google.com comp.unix.tru64:455 abybaby schrieb: > 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. > 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.