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 <nicolis_at_chiral.phys.univ-tours.fr>
Bill Bathurst <bathurst_at_blegga.freerange.com>
Ezra Peisach <epeisach_at_MIT.EDU>
Brian Sheehan <sheehan_at_scripps.edu>
"Kevin Oberman" <oberman_at_nersc.gov>
Paul Henderson <pgh_at_unx.dec.com>
"Charles C. H. Jui" <jui_at_booboo.physics.utah.edu>
"Anthony D'Atri" <aad_at_nwnet.net>
Bob Sloane <SLOANE_at_KUHUB.CC.UKANS.EDU>
Larry Griffith <larry_at_garfield.wsc.mass.edu>
Ian Piumarta <piumarta_at_prof.inria.fr>
"Dr. Tom Blinn, 603-881-0646" <tpb_at_zk3.dec.com>
bremner_at_CS.McGill.CA
Dave Cherkus <cherkus_at_UniMaster.COM>
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_at_eee.strath.ac.uk
+------------------------------------------------------------------------+
Received on Sat Jun 01 1996 - 19:40:27 NZST