<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><br><div><div>On May 4, 2012, at 10:21 AM, Matthieu Monrocq wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div class="gmail_quote"><blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; "><div class="im">> If we set this up kind of like clang is<br>> setup, then the build system will detect whether there is a fortran<br>> subdirectory in clang, and if so, will build (defining<br>> CLANG_HAS_FORTRAN or something like that) and link the extra components.<br><br></div>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.<br><span class="HOEnZb"><font color="#888888"><br>-Chris</font></span><br></blockquote></div><br><br>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...<br><br>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 ?<br></span></blockquote></div><br><div>Yeah, reusing the driver doesn't seem obvious to me either.</div><div><br></div><div>-Chris</div></body></html>