> -----Original Message----- > From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On > Behalf Of "C. Bergström" > Sent: Tuesday, July 15, 2014 7:39 AM > To: Rekha R > Cc: LLVM Developers Mailing List > Subject: Re: [LLVMdev] on compiling FORTRAN programs > > On 07/15/14 09:29 PM, Rekha R wrote: > > Hi, > > > > I am stuck on compiling SPEC benchmark programs. > > I could successfully compile and run my pass on SPEC CPU2006 C and C++ > > programs. > > However, I couldn't compile SPEC CPU2006 FORTRAN programs. > > Note: I am using the /make /utility to run my pass on SPEC programs. > > > > Any idea on how to compile FORTRAN programs using /make /(instead of > LNT)? > Since the mid-90's it's "Fortran" without all caps. > > If you have an unmodified version of SPEC CPU then you can just use > those included Makefiles. > ---------- > If you're asking how can llvm compile Fortran - it can't and you'd > either need to contribute a patch or set FC to a Fortran compiler.Wouldn't dragonegg (gcc->llvm) support Fortran, as part of the gcc family of frontends? --paulr
On 07/16/14 02:38 AM, Robinson, Paul wrote:>> -----Original Message----- >> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On >> Behalf Of "C. Bergström" >> Sent: Tuesday, July 15, 2014 7:39 AM >> To: Rekha R >> Cc: LLVM Developers Mailing List >> Subject: Re: [LLVMdev] on compiling FORTRAN programs >> >> On 07/15/14 09:29 PM, Rekha R wrote: >>> Hi, >>> >>> I am stuck on compiling SPEC benchmark programs. >>> I could successfully compile and run my pass on SPEC CPU2006 C and C++ >>> programs. >>> However, I couldn't compile SPEC CPU2006 FORTRAN programs. >>> Note: I am using the /make /utility to run my pass on SPEC programs. >>> >>> Any idea on how to compile FORTRAN programs using /make /(instead of >> LNT)? >> Since the mid-90's it's "Fortran" without all caps. >> >> If you have an unmodified version of SPEC CPU then you can just use >> those included Makefiles. >> ---------- >> If you're asking how can llvm compile Fortran - it can't and you'd >> either need to contribute a patch or set FC to a Fortran compiler. > Wouldn't dragonegg (gcc->llvm) support Fortran, as part of the gcc > family of frontends?Is that available in latest llvm release and or worth anything? I'm not sure the advantage of that vs a real FC compiler..
On Tue, Jul 15, 2014 at 07:38:08PM +0000, Robinson, Paul wrote:> > -----Original Message----- > > From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] On > > Behalf Of "C. Bergström" > > Sent: Tuesday, July 15, 2014 7:39 AM > > To: Rekha R > > Cc: LLVM Developers Mailing List > > Subject: Re: [LLVMdev] on compiling FORTRAN programs > > > > On 07/15/14 09:29 PM, Rekha R wrote: > > > Hi, > > > > > > I am stuck on compiling SPEC benchmark programs. > > > I could successfully compile and run my pass on SPEC CPU2006 C and C++ > > > programs. > > > However, I couldn't compile SPEC CPU2006 FORTRAN programs. > > > Note: I am using the /make /utility to run my pass on SPEC programs. > > > > > > Any idea on how to compile FORTRAN programs using /make /(instead of > > LNT)? > > Since the mid-90's it's "Fortran" without all caps. > > > > If you have an unmodified version of SPEC CPU then you can just use > > those included Makefiles. > > ---------- > > If you're asking how can llvm compile Fortran - it can't and you'd > > either need to contribute a patch or set FC to a Fortran compiler. > > Wouldn't dragonegg (gcc->llvm) support Fortran, as part of the gcc > family of frontends?Yes, how well it works is a separate question. Joerg
On Tue, Jul 15, 2014 at 12:51 PM, Joerg Sonnenberger < joerg at britannica.bec.de> wrote:> On Tue, Jul 15, 2014 at 07:38:08PM +0000, Robinson, Paul wrote: > > Wouldn't dragonegg (gcc->llvm) support Fortran, as part of the gcc > > family of frontends? > > Yes, how well it works is a separate question. >I thought Duncan no longer had time to maintain it, so it may or may not work with recent versions of GCC. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140715/5ff1ab1d/attachment.html>
I am trying to configure NAG Fortran as front end. Any comments? @Bergstrom: What is this FC compiler? Rekha On Wed, Jul 16, 2014 at 1:11 AM, "C. Bergström" <cbergstrom at pathscale.com> wrote:> On 07/16/14 02:38 AM, Robinson, Paul wrote: > >> -----Original Message----- >>> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu] >>> On >>> Behalf Of "C. Bergström" >>> Sent: Tuesday, July 15, 2014 7:39 AM >>> To: Rekha R >>> Cc: LLVM Developers Mailing List >>> Subject: Re: [LLVMdev] on compiling FORTRAN programs >>> >>> On 07/15/14 09:29 PM, Rekha R wrote: >>> >>>> Hi, >>>> >>>> I am stuck on compiling SPEC benchmark programs. >>>> I could successfully compile and run my pass on SPEC CPU2006 C and C++ >>>> programs. >>>> However, I couldn't compile SPEC CPU2006 FORTRAN programs. >>>> Note: I am using the /make /utility to run my pass on SPEC programs. >>>> >>>> Any idea on how to compile FORTRAN programs using /make /(instead of >>>> >>> LNT)? >>> Since the mid-90's it's "Fortran" without all caps. >>> >>> If you have an unmodified version of SPEC CPU then you can just use >>> those included Makefiles. >>> ---------- >>> If you're asking how can llvm compile Fortran - it can't and you'd >>> either need to contribute a patch or set FC to a Fortran compiler. >>> >> Wouldn't dragonegg (gcc->llvm) support Fortran, as part of the gcc >> family of frontends? >> > Is that available in latest llvm release and or worth anything? I'm not > sure the advantage of that vs a real FC compiler.. >-- Rekha -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140717/e02134a7/attachment.html>