forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem creating a .exe file using FTN95

 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
kenf



Joined: 26 Jun 2009
Posts: 1

PostPosted: Mon Jul 06, 2009 3:30 pm    Post subject: Problem creating a .exe file using FTN95 Reply with quote

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
View user's profile Send private message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2554
Location: Sydney

PostPosted: Tue Jul 07, 2009 12:52 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group