[Prev][Next][Index][Thread]
SUMMARY: Any recommended compilers
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@xxxxxxxxxxxxxxxxxxxxxxxxx>
Bill Bathurst <bathurst@xxxxxxxxxxxxxxxxxxxx>
Ezra Peisach <epeisach@xxxxxxx>
Brian Sheehan <sheehan@xxxxxxxxxxx>
"Kevin Oberman" <oberman@xxxxxxxxx>
Paul Henderson <pgh@xxxxxxxxxxx>
"Charles C. H. Jui" <jui@xxxxxxxxxxxxxxxxxxxxxxx>
"Anthony D'Atri" <aad@xxxxxxxxx>
Bob Sloane <SLOANE@xxxxxxxxxxxxxxxxxx>
Larry Griffith <larry@xxxxxxxxxxxxxxxxxxxxx>
Ian Piumarta <piumarta@xxxxxxxxxxxxx>
"Dr. Tom Blinn, 603-881-0646" <tpb@xxxxxxxxxxx>
bremner@xxxxxxxxxxxx
Dave Cherkus <cherkus@xxxxxxxxxxxxx>
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@xxxxxxxxxxxxxxxx
+------------------------------------------------------------------------+