[LLVMdev] on compiling FORTRAN programs

"C. Bergström" cbergstrom at pathscale.com
Tue Jul 15 07:38:42 PDT 2014


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.



More information about the llvm-dev mailing list