From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fcda7,71c35a0e73c110d5 X-Google-Attributes: gidfcda7,public X-Google-Thread: 10872d,71c35a0e73c110d5 X-Google-Attributes: gid10872d,public X-Google-Thread: fa528,71c35a0e73c110d5 X-Google-Attributes: gidfa528,public X-Google-Thread: 115614,71c35a0e73c110d5 X-Google-Attributes: gid115614,public X-Google-Thread: 11035d,71c35a0e73c110d5 X-Google-Attributes: gid11035d,public X-Google-Thread: 1164f8,71c35a0e73c110d5 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 2003-07-31 05:52:46 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer2.atl.newshosting.com!news2.euro.net!newsfeed.freenet.de!194.168.222.22.MISMATCH!newspeer1-gui.server.ntli.net!ntli.net!newsfep1-win.server.ntli.net.POSTED!53ab2750!not-for-mail Message-ID: <3F291119.760D27DF@ntlworld.com> From: "Dr. David Kirkby" X-Mailer: Mozilla 4.8 [en] (X11; U; SunOS 5.9 sun4u) X-Accept-Language: en MIME-Version: 1.0 Newsgroups: comp.sys.hp.hpux,comp.unix.tru64,comp.sys.dec,comp.unix.solaris,comp.sys.sgi.admin,comp.unix.aix Subject: Re: Free UNIX for non-commerical use. References: <3F233C74.4F4C3BAB@ntlworld.com> <3f23a698$0$15040$cc9e4d1f@news.dial.pipex.com> <3F251918.B861101C@ntlworld.com> Content-Type: text/plain; charset=iso-8859-15 Content-Transfer-Encoding: 7bit Date: Thu, 31 Jul 2003 13:52:41 +0100 NNTP-Posting-Host: 62.255.96.199 X-Complaints-To: abuse@ntlworld.com X-Trace: newsfep1-win.server.ntli.net 1059655964 62.255.96.199 (Thu, 31 Jul 2003 13:52:44 BST) NNTP-Posting-Date: Thu, 31 Jul 2003 13:52:44 BST Organization: ntlworld News Service Xref: archiver1.google.com comp.sys.hp.hpux:29988 comp.unix.tru64:10422 comp.sys.dec:16497 comp.unix.solaris:164220 comp.sys.sgi.admin:18813 comp.unix.aix:54136 Peter da Silva wrote: > > In article <3F251918.B861101C@ntlworld.com>, > Dr. David Kirkby wrote: > > 1) In the case of games manufacturers, they would indeed loose revenue > > if they allowed everyone to copy their games. I don't think this is so > > with UNIX operating systems and compilers. There are not than many > > home users going to pay more than $1000 on a compiler. They will > > likely use gcc instead and have to accept the poorer performance. > > And write software that only compiles on GCC, so that the commercial > vendors own users end up having to install GCC just to build and run > open-source software. > > GCC is a fine compiler, but it's becoming a monoculture for software > developers... it's almost like GCC and a collection of related tools > are turning into a "linux emulator" for UNIX systems. So... where the > cry used to be "all the world's a VAX", it's now "all the world's Red > Hat". > > I guess that's OK, if you like a monoculture. I agree with you entirely there. As far as 90% of open-source developers are concerned, if it compiles on gcc, it is okay. Few seem to make any effort to check it with other compilers. Like it or not, gcc is now a standard. I don't think its a very good standard in many ways, but it is no doubt a standard - at least according to a dictionary definition of a standard http://www.m-w.com/cgi-bin/dictionary?va=standard before anyone jumps up and tells me gcc does not conform to this or that ISO standard. At least one compiler (IBM's for AIX I think), has switches to enable gcc extensions. I think the code that gcc allows to pass without issuing a warning, needs tightening up. -Wall is next to useless. A lot more could be done to ensure that code is portable, before the -Wall option gives no warnings. I think if the compiler warnings issued were much more comprehensive, then people would tend to remove possible portability problems, making the code more portable. As it is, people see that their code compiles okay on gcc with no warnings and think it is good code. In reality, gcc -Wall is far too lax. (You post has made me decide to run gccbug and report this as a bug). I have here a number of test machines I use for checking my software. I've put quite a bit of effort in to checking the portability of http://atlc.sourceforge.net/ Whenever possible I have tried to obtain the manufacturers compilers. I have legal licences for Solaris, AIX, IRIX and Tru64 - all obtained at zero or minimal cost under one scheme or the other. I've yet to get a copy of HP's compiler for HP-UX, so have no choice but to install gcc on that. It's a shame really, as the HP PA-RISC box is the best performing machine I have, so I expect it would do even better with an HP compiler. I can't seem to find one on eBay. Dr. David Kirkby, Senior Research Fellow, Department of Medical Physics, University College London, 11-20 Capper St, London, WC1E 6JA. Tel: 020 7679 6408 Fax: 020 7679 6269 Internal telephone: ext 46408 e-mail davek@medphys.ucl.ac.uk