Re: compatibility g77/gfortran ?
- From: "Carlie J. Coats" <carlie@xxxxxxxxxxxxxxx>
- Date: Sat, 12 Jul 2008 18:15:54 GMT
Thierry B. wrote:
Bonsoir.
I have a few old Linux box with g77 v3.4.6 where i run homemade
software. My new machine come with gfortran v4.1.2 and is a lot
faster, so I use it as my main developement area. Compile fine
all my old softwares.
And i'm looking for the best way (command line opt ?) to check
if the code that I write and compile with gfortran can also
be compiled and run on the old boxes.
Any link on a good documentation are welcome.
tTh.
Well, Sun's Studio Express compiler-set is available for Linux
free for commercial and nomcommercial use; see a number of posts
here by Bob Corbett of Sun.
When Sun "f95" is used with command-line flag "-f77", it acts
as a strict F77compiler and flags non-F77 features -- actually,
that's a bit more strict than "g77" is. And their compiler
has excellent diagnostics.
Actually, I find it worthwhile _always_ to run through multiple
compilers (Sun, Intel, PathScale, gfortran, g95); each has its
strengths and weaknesses for diagnostic messages...) I set it
up so that each compiler has its own "makeinclude.<bin>" file,
and then set up my "Makefile" so that "make bins" recursively
cycles through all the cases of "make bin=<compiler> all".
-- Carlie Coats
.
- References:
- compatibility g77/gfortran ?
- From: Thierry B.
- compatibility g77/gfortran ?
- Prev by Date: defined operator & assignment speed & memory usage problem
- Next by Date: Re: defined operator & assignment speed & memory usage problem
- Previous by thread: Re: compatibility g77/gfortran ?
- Next by thread: how to convert variable name to a string?
- Index(es):
Relevant Pages
|
|