From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96076333621140.tru64-unix-managers.marc@archive.invalid> From: cnbv01 () puck ! eee ! strath ! ac ! uk Date: Fri, 31 May 1996 17:32:25 +0000 To: tru64-unix-managers Subject: SUMMARY: Any recommended compilers X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96076333621140 Dear all, I asked.... >I'm looking for suggestions on good C compilers for DEC Alpha boxes. We are >currently running DU v3.2c > .......... >So can anyone tell me how far they have been able to crank up the warning level >on the DEC C compiler, and if there are any more stringent compilers out there. >Someone in our research group actually suggested using the DEC C++ compiler. Do >you know if it is more pedantic than the C compiler? Your collective response was: 1. With the DEC C compiler, use with the -portable or -std1 flags. Kevin Oberman also suggested use of the -migrate flag. 2. With the DEC C compiler you can also, as suggested by Paul Henderson, "play with function prototype checking by messing with the value of the FUNCPROTO flag...FUNCPROTO=15 does function prototype checking very rigourously". 3. Use lint with the DEC C compiler - this combination is less forgiving. 4. Install and use the GNU C compiler gcc (available at prep.ai.mit.edu and several mirror sites). gcc allows the production of good ansi C code which is portable between different platforms. Use with the -ansi, -pedantic and/or -Wall flags. Most suggested that production binaries should still be produced with the DEC C compiler though. Thanks to the following for helpful replies: Stam Nicolis Bill Bathurst Ezra Peisach Brian Sheehan "Kevin Oberman" Paul Henderson "Charles C. H. Jui" "Anthony D'Atri" Bob Sloane Larry Griffith Ian Piumarta "Dr. Tom Blinn, 603-881-0646" bremner@CS.McGill.CA Dave Cherkus Thanks to one and all. I'm going to try all these options, but not today....its Saturday, so why am I in here in the first place!!!! Regards, Graeme +------------------------------------------------------------------------+ Dr Graeme M Burt Centre for Electrical Power Engineering University of Strathclyde 204 George Street Tel: +44 (0)141 552 4400 X2990 Glasgow G1 1XW Fax: +44 (0)141 552 2487 Scotland E-mail: g.burt@eee.strath.ac.uk +------------------------------------------------------------------------+