[cfe-commits] [RFC and PATCH] Fortran

Chris Lattner clattner at apple.com
Fri May 4 10:23:17 PDT 2012


On May 4, 2012, at 10:21 AM, Matthieu Monrocq wrote:

> > If we set this up kind of like clang is
> > setup, then the build system will detect whether there is a fortran
> > subdirectory in clang, and if so, will build (defining
> > CLANG_HAS_FORTRAN or something like that) and link the extra components.
> 
> Should "flang" (please come up with a better name! :) be in llvm/tools/flang or in llvm/tools/clang/flang?  I think that the former makes more sense.  These are peer projects, even if one is dependent on the other.
> 
> -Chris
> 
> 
> One minor nit: I can certainly understand reusing the lexer/preprocessor if it is nearly identical and the tooling mechanism just added by Manuel because it's a great infrastructure, however on the other hand I am not sure about the driver itself...
> 
> I don't know Fortran, so perhaps it's obvious to you Hal, but I wonder if perhaps it would make sense to produce a different binary, with its own set of flags ?

Yeah, reusing the driver doesn't seem obvious to me either.

-Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120504/885377ec/attachment.html>


More information about the cfe-commits mailing list