Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help Running Program in Eclipse

Status
Not open for further replies.

womfalcs3

Technical User
Mar 20, 2009
4
I'm using Eclipse, on which I installed Photran. The syntax recognition and formatting of the GUI is very nice.

I'm having issues running my Fortran program.

I've tried many compilers. From G77, to GCC 4.3.3 with Fortran, and others (BCF12b, and so on).

Eclipse never builds or runs though. It sometimes brings up binary parser errors, and I don't see a makefile anywhere in the navigation bar.

I wrote and saved my relatively simple *.f file (Simpson's 1/3 Rule). I just need to run it and see if it works.

I'm not having issues with Fortran specifically, just using Eclipse. That's why I posted this here.

Is there a guide that shows how to associate a compiler with Eclipse correctly?

Here's what I have done:

I wrote my program in a source file under a Fortran project. I right-clicked on the source file and selected Run Configurations. There, on the first tab, I put the address to the *.exe files associated with the compilers mentioned above.


Thank you.
 
I think that in the "Fortran" and "Eclipse based tools" forums you'll find more people who are able to answer your questions.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top