From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,8db5efff7c936b57 X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2002-07-03 05:59:24 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!bloom-beacon.mit.edu!iad-peer.news.verio.net!news.verio.net!nntp1.roc.gblx.net!nntp.gblx.net!nntp.gblx.net!news.unh.edu!not-for-mail From: Paul A Sand Newsgroups: comp.unix.tru64 Subject: Re: gcc versus compaq compiler performance Date: Wed, 3 Jul 2002 12:59:24 +0000 (UTC) Organization: University of New Hampshire Message-ID: References: <3d21da59$0$8172$ba620e4c@news.skynet.be> NNTP-Posting-Host: granite.unh.edu X-Trace: tabloid.unh.edu 1025701164 8772 132.177.137.16 (3 Jul 2002 12:59:24 GMT) X-Complaints-To: usenet@tabloid.unh.edu NNTP-Posting-Date: Wed, 3 Jul 2002 12:59:24 +0000 (UTC) User-Agent: slrn/0.9.7.4 (Linux) Xref: archiver1.google.com comp.unix.tru64:8057 In article , Nikola Milutinovic wrote: >> Why not use the Compaq compiler? The C compiler is free and you can get >> an eval license for the C++ compiler. > Have you ever tried to compile Apache 2.0 using Compaq's CC? They have > poluted the source with "GCC-isms" to such an extent, that I've given up on > trying to "ANSI-aze" it. I installed GCC 3.0.4 and managed to compile Apache > 2.0.36 without a hickup. To leap to the defense of both Compaq and Apache: as near as I can tell, Apache 2.0.39 configures and compiles cleanly using cc (Compaq C V6.4-014) on our Tru64 5.1A systems. (Although I haven't tried all combinations of httpd's --with-X and --enable-X configuration options. No idea either on older OS/compiler versions.) I use cc and cxx for compiling everything on Tru64. I've never had to resort to gcc/g++. In my experience, compilation problems can be tricked out with appropriate CFLAGS settings, or (rarely) with small Tru64-specific patches. (Example of the latter: the latest few versions of rsync. The patch is included in the distribution.) Not that I'm generally pro-Compaq/anti-GNU software. Using GNU's make over Compaq's is often a must. -- -- Paul A. Sand | If you'd learn about dithering, -- University of New Hampshire | then perhaps you'd stop blithering. -- pas@unh.edu | (Tim Smith, comp.org.eff.talk) -- http://pubpages.unh.edu/~pas |