Barry Gold schrieb:
>
> What file extension should I use to get gcc to recognize an input file
> as fortran?
I think *.f or *.for do work. Simply call "f77" of "g77" as
the compiler name instead of "gcc". But easier, you simply
can type
make pmxa pmxb
in the source directory of pmx-1.3.8. There is no [Mm]akefile
available, so make looks for an appropriate source file, in this
case it will look for any file with a name like pmxa.c pmxa.cc
pmxa.f and others and figure out by itself how to compile it,
whether it's C, C++, Fortran code or whatever. Nice, hm?
BTW. With my SuSE-5.2 distribution of Linux, the corresponding
files exist somewhere under "/usr/lib/gcc-lib/". Try "locate
f77" if you like.
Enjoy the weekend, happy compiling :-)
Frank.
--
--------------------------------------------------------------
<=============\
Music \ \ Biking
O ) \ o / ) ~o
,_/()\/'___/ /___ O _______/' ---- o ___ <\
X | < \ -- <\ ()/()
_/ \_ /^\ Paragliding ()/()
--------------------------------------------------------------
Email : <[EMAIL PROTECTED]>
<[EMAIL PROTECTED]>
WWW : <http://www.gap.baynet.de/members/f.stefani/>
--------------------------------------------------------------