View previous topic :: View next topic |
Author |
Message |
kenf
Joined: 26 Jun 2009 Posts: 1
|
Posted: Mon Jul 06, 2009 3:30 pm Post subject: Problem creating a .exe file using FTN95 |
|
|
I have several Fortran 77 programs that I use on a regular basis. When I bought a new computer I wasn't able to get the old Fortran compilers/executables to work on it. So, I downloaded FTN95. With it I am able to run your demonstration program, run my existing Fortran 77 programs, but when I modify a Fortran 77 program and try to compile and run it I get a new .obj file but not a new .exe file. Help! What do I need to do? I am not a sophisticated computer user.
Ken Friedman |
|
Back to top |
|
|
JohnCampbell
Joined: 16 Feb 2006 Posts: 2584 Location: Sydney
|
Posted: Tue Jul 07, 2009 12:52 am Post subject: |
|
|
try using the /link option when compiling, or read up on slink if you have more than one .fxx file to compile and link together.
To produce a .exe from a single file use:-
ftn95 program.f77 /debug /link
ftn95 /help will start the help and read about slink
ftn95 /? will give a list of compiler options you can research more in the help. |
|
Back to top |
|
|
|