Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] run a Fortran/C++ program

Hi,



The following instructions have been helpful:

http://stackoverflow.com/questions/30069830/how-to-install-mingw-w64-and-msys2


I can build and start the C++ project, but unfortunately it does not work for the Fortran project, as the toolchain does not seem to be available.

See the pictures.


Thx,

Williams






On 18/03/2017 18:59, Michel DEVEL wrote:
Le 18/03/2017 à 18:39, Olivia Williams a écrit :

Hi,


I haven't yet used a compiler to build a binary.

Could you offer me some instructions on how to build a binary?

Hi,

In fact, for the moment, if I understand well, you have created a fortran project in eclipse (which type? "Executable (GNU fortran on Windows)" or something else? (What? "Makefile project" ?)
What is the Tool chain you choosed? GCC Fortran? Something else?

Are you aware that you need to have a 64 bits fortran compiler installed if you wish to compile and execute a fortran project?
If yes, which one have you installed?
If no, then you need to install one. I use the MinGW GCC fortran from msys2, but there are other versions available.

Have you read the tutorial at the adress given by Jeff?

If you have a compiler installed, then you need to click on the hammer button (or select "Build All" in the Project menu to compile. Then you will be able to execute your program by selecting "Run" in the "Run" menu.

If this does not succeed, you will have to give more information on the kind of code you are trying to use, for us to be able to help you.

Sincerely,

Michel
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/photran

Attachment: picture.PNG
Description: PNG image

Attachment: picture2.PNG
Description: PNG image


Back to the top