Re: Inline::F2003 - New ILSM proposed
[email protected] (Ron Grunwald via inline) Tue, 23 May 2017 20:46:11 +0800
| Newsgroups | perl.inline |
|---|---|
| Message-ID | <[email protected]> |
Hi Rob, > On 23 May 2017, at 10:05 am, <[email protected]> = <[email protected]> wrote: >=20 >=20 > From: Ron Grunwald via inline > Sent: Monday, May 22, 2017 11:55 PM > To: [email protected] > Subject: Inline::F2003 - New ILSM proposed >=20 >> The name of the proposed module is Inline::F2003 >=20 > Please let us know when it becomes available from CPAN. I am likely to provide regular updates here as the work progresses. I = expect the first release to be quite primitive but functional. >=20 >> The module will only work for compilers that are compliant with the = FORTRAN 2003 standard and above. >=20 > With gfortran (from gcc-7.1.0) I tried: >=20 > C:\_32>gfortran -f2003 -c demo.f -o demo.o > gfortran: error: unrecognized command line option '-f2003' >=20 > I gather this indicates that gcc's gfortran is not compliant with the = FORTRAN 2003 standard ? gfortran is definitely compliant with the FORTRAN 2003 standard. The = option to use is "-std=3Df2003". The option "-f2003" is relevant only to the commercial NAG FORTRAN = compiler. You could even use the "g95" compiler. Even though g95 is not fully 2003 = compliant, it does offer full support for C Interoperability. If you = intend to try g95, use the option "-std=3Df2003". >=20 > Cheers, > Rob=20