Hello! I have writen some subrutines in Free-form Fortran. I would like to includ them in a package, which I would like to build on WinXP. I have all suggested tools/programs for bulding R packages on Windows (except latex). What is the best way of using these subrutines? Does sombody mybe know any translation tools for converting Free-form to fixed-form Fortran? Thanks for any suggestions, Ales Ziberna
Not knowing exactly what you mean by Free-form Fortran I couldn't say for sure, but perhaps ratfor will do the job. Worth trying, I would think. -Don At 4:36 PM +0200 8/26/05, =?iso-8859-2?Q?Ale=B9_=AEiberna?= wrote:>Hello! > >I have writen some subrutines in Free-form Fortran. I would like to includ >them in a package, which I would like to build on WinXP. I have all >suggested tools/programs for bulding R packages on Windows (except latex). > >What is the best way of using these subrutines? Does sombody mybe know any >translation tools for converting Free-form to fixed-form Fortran? > >Thanks for any suggestions, >Ales Ziberna > >______________________________________________ >R-devel at r-project.org mailing list >https://stat.ethz.ch/mailman/listinfo/r-devel-- -------------------------------------- Don MacQueen Environmental Protection Department Lawrence Livermore National Laboratory Livermore, CA, USA
Ale?i, On Aug 26, 2005, at 10:36 AM, Ale? ?iberna wrote:> I have writen some subrutines in Free-form Fortran. I would like to > includ > them in a package, which I would like to build on WinXP. I have all > suggested tools/programs for bulding R packages on Windows (except > latex). > > What is the best way of using these subrutines? Does sombody mybe > know any > translation tools for converting Free-form to fixed-form Fortran?If your only concern is to build it, you may try using g77 with - ffree-form. This should work with GNU Fortran. However, that limits the availability of your package to GNU compilers only. Cheers, ?imon
Thank you for your reply! I know I can use g77 with -ffree-form. However, I do not know how to make a package so that when others would build a package, these subrutines would compile with "-ffree-form". I heard of "makevars" and flags, however I read on the mailing list archives that they are ignored on Windows. Ales ----- Original Message ----- From: "Simon Urbanek" <simon.urbanek at r-project.org> To: "Ale? ?iberna" <ales.ziberna at guest.arnes.si> Cc: "R Development Mailing List" <r-devel at stat.math.ethz.ch> Sent: Friday, August 26, 2005 8:29 PM Subject: Re: [Rd] Free-form to fixed-form Fortran Ale?i, On Aug 26, 2005, at 10:36 AM, Ale? ?iberna wrote:> I have writen some subrutines in Free-form Fortran. I would like to > includ > them in a package, which I would like to build on WinXP. I have all > suggested tools/programs for bulding R packages on Windows (except > latex). > > What is the best way of using these subrutines? Does sombody mybe > know any > translation tools for converting Free-form to fixed-form Fortran?If your only concern is to build it, you may try using g77 with - ffree-form. This should work with GNU Fortran. However, that limits the availability of your package to GNU compilers only. Cheers, ?imon ______________________________________________ R-devel at r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel