| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| hello, i have been given a couple of small programs with a .FOR extension and advised that this program - http://gcc.gnu.org/wiki/GFortranBinaries would be the best way of compiling them. As i use windows XP i have installed the native version, but now i have no idea what the next stage of compiling the programs is - any help would be appreciated - e.g. what part to open. The programs are either just a .FOR file or have associated .1 and .2 or .IN associations i am more interested in the FOR and .IN files Many thanks for any help andy |
|
#2
| |||
| |||
| houseofavon@googlemail.com schrieb: > hello, > > i have been given a couple of small programs with a .FOR extension and > advised that this program - http://gcc.gnu.org/wiki/GFortranBinaries > would be the best way of compiling them. As i use windows XP i have > installed the native version, but now i have no idea what the next > stage of compiling the programs is - any help would be appreciated - > e.g. what part to open. > > The programs are either just a .FOR file or have associated .1 and .2 > or .IN associations i am more interested in the FOR and .IN files > > Many thanks for any help > > andy I'm absolutely sure, gfortran has, like the most programs, a manual which describes the usage of the compiler. For those members of mankind, which does not like the manual, a short explanation: Use the cmd.exe and type: gfortran inputfile.for -o outputname.exe -Wall means: Take the fortran inputfile.for and make an executable named outputname.exe, and the switch -Wall says, that the compiler should give a lot of warnings. You can also have more then one input file, but they have to be for the same program and should be given in the right order. You can look at some switches by typing gfortran --help in cmd.exe, but I think, you should read the manual. |
|
#3
| |||
| |||
| On Tue, 26 Aug 2008 10:59:42 -0700 (PDT), houseofavon@googlemail.com posted: > hello, > > i have been given a couple of small programs with a .FOR extension and > advised that this program - http://gcc.gnu.org/wiki/GFortranBinaries > would be the best way of compiling them. As i use windows XP i have > installed the native version, but now i have no idea what the next > stage of compiling the programs is - any help would be appreciated - > e.g. what part to open. > > The programs are either just a .FOR file or have associated .1 and .2 > or .IN associations i am more interested in the FOR and .IN files > > Many thanks for any help > > andy I always find that silverfrost makes a great second tool for windows. If you can find Plato IV on the silverfrost site, you're more net savvy than I, but having an IDE with a visual debugger is a good thing. Usually, .for indicates fixed form, which is one of the options plato gives when you create a new file. I think gfortran has a differing interpretation with fortran filetypes; I guess I better claim that silverfrost thinks that .for is fixed form. ..in sounds like an .ini file, probably created the program. You look at the characteristics of an .ini file to see how to code one that is appropriate for your target environment. -- Unquestionably, there is progress. The average American now pays out twice as much in taxes as he formerly got in wages. 1 H. L. Mencken |
|
#4
| |||
| |||
| Ron Ford <ron@example.invalid> wrote: > .in sounds like an .ini file, probably created the program. I would guess more likely to be an input data file for the program, or possibly an include file of source code. But those are all just pretty random guesses, as the file extension alone doesn't tell much in this case. -- Richard Maine | Good judgement comes from experience; email: last name at domain . net | experience comes from bad judgement. domain: summertriangle | -- Mark Twain |
|
#5
| |||
| |||
| >i have been given a couple of small programs with a .FOR extension and >advised that this program - http://gcc.gnu.org/wiki/GFortranBinaries >would be the best way of compiling them. As i use windows XP If these are not proprietary or secret, someone else could compile them for you. I'm offering. OpenWatcom is C & F77 (.FOR is often F77 as opposed to F90 or later fortran standards) and OpenWatcom is free. It can run on DOS, Win16, Win32 (including XP) and OS/2 and can target all of those (and more) from any one of those. |
|
#6
| |||
| |||
| On Aug 27, 5:59 am, houseofa...@googlemail.com wrote: > hello, > > i have been given a couple of small programs with a .FOR extension and > advised that this program -http://gcc.gnu.org/wiki/GFortranBinaries > would be the best way of compiling them. As i use windows XP i have > installed the native version, but now i have no idea what the next > stage of compiling the programs is - any help would be appreciated - > e.g. what part to open. > > The programs are either just a .FOR file or have associated .1 and .2 > or .IN associations i am more interested in the FOR and .IN files > > Many thanks for any help > > andy Write in C, write in C... |
|
#7
| |||
| |||
| On 29 aug, 02:08, kronec...@yahoo.co.uk wrote: > On Aug 27, 5:59 am, houseofa...@googlemail.com wrote: > > > hello, > > > i have been given a couple of small programs with a .FOR extension and > > advised that this program -http://gcc.gnu.org/wiki/GFortranBinaries > > would be the best way of compiling them. As i use windows XP i have > > installed the native version, but now i have no idea what the next > > stage of compiling the programs is - any help would be appreciated - > > e.g. what part to open. > > > The programs are either just a .FOR file or have associated .1 and .2 > > or .IN associations i am more interested in the FOR and .IN files > > > Many thanks for any help > > > andy > > Write in C, write in C... Apart from not being helpful at all, this clearly marks you as a troll. Regards, Arjen |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.