Silverfrost Forums

Welcome to our forums

Problem creating a .exe file using FTN95

6 Jul 2009 2:30 #4761

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

6 Jul 2009 11:52 #4765

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.

Please login to reply.