[Scons-dev] Fortran tooling

Managan, Rob managan1 at llnl.gov
Thu Jan 8 14:15:04 EST 2015


I thought that gfortran as a front end to gcc would handle all the extensions as well.

*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-
Rob Managan                             email managan at llnl.gov
LLNL                                             phone: 925-423-0903
P.O. Box 808, L-095                   FAX:   925-422-3389
Livermore, CA  94551-0808


On 1/8/15, 10:31 AM, "Bill Deegan" <bill at baddogconsulting.com<mailto:bill at baddogconsulting.com>> wrote:

Russel,

I've definitely done this for some clients with mixed fortran and c/c++ code.
-Bill

On Thu, Jan 8, 2015 at 12:04 AM, Russel Winder <russel at winder.org.uk<mailto:russel at winder.org.uk>> wrote:
Bill,

On Wed, 2015-01-07 at 08:54 -0800, Bill Deegan wrote:
> Russel,
>
> Looks like a properly compiled gcc should handle .f08.
> https://gcc.gnu.org/onlinedocs/gcc-4.4.3/gfortran/GNU-Fortran-and-GCC.html
> -Bill



Indeed, the gcc command is the compiler manager and not the compiler
so should handle all acceptable input file types via extension. I must
admit to never having tried using gcc this way, and I think SCons
doesn't.

--
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200<tel:%2B44%2020%207585%202200>   voip: sip:russel.winder at ekiga.net<mailto:sip%3Arussel.winder at ekiga.net>
41 Buckmaster Road    m: +44 7770 465 077<tel:%2B44%207770%20465%20077>   xmpp: russel at winder.org.uk<mailto:russel at winder.org.uk>
London SW11 1EN, UK   w: www.russel.org.uk<http://www.russel.org.uk>  skype: russel_winder

_______________________________________________
Scons-dev mailing list
Scons-dev at scons.org<mailto:Scons-dev at scons.org>
https://pairlist2.pair.net/mailman/listinfo/scons-dev

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/scons-dev/attachments/20150108/62cf6f66/attachment.html>


More information about the Scons-dev mailing list