Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

Compile more than one files of fortran scripts

+2 votes
asked Mar 26 by Yudi Haditiar (140 points)

Hi .. 

This online coding is very interesting for me. 

However, I can't compile many files of fortran files. 

I have written the three files that are name1.f95, name2.f95, and main.f95.

By using g95 -c name1.f95 name2.f95, I can't make files name1.o nor name1.mod. 

How can I do to tackle this step? 

Would you like to tell me! 

Kind regards, 


1 Answer

0 votes
answered Apr 2 by Peter Minarik (86,160 points)
I never had any real experience working with Fortran, but I've found this thread that may be of help: https://stackoverflow.com/questions/24149679/linking-multiple-files-with-fortran
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.