Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [photran] Question about managed make

Hi Ralph and others,

please understand this as constructive input from a relatively new Photran fan.

I would have thought that another target audience are junior researchers/ PhD students, newbies to Fortran, people switching from Windows, and the like, who don't have the money to buy one of the big development environments like MS Visual Studio (plus the compiler). From this mailing list it seemed there are not too few of those. I only know the very basics of make, but my impression was that it wouldn't be too difficult to have the files built in the correct order (modules first, respect dependencies), and also include the files when they are organized in subfolders. I could imagine you could attract many people of the above group and keep them as long-term users if just a little bit more functionality was included in managed make.

Thanks a lot for your continued efforts!

Daniel

-------- Original Message  --------
Subject: Re: [photran] Question about managed make
From: Ralph Johnson <johnson@xxxxxxxxxxx>
To: Keith Prussing <kprussing74@xxxxxxxxx>, Photran Information <photran@xxxxxxxxxxx>
Date: Tue, 27 Oct 2009 14:37:14 -0500

On Mon, Oct 26, 2009 at 11:25 PM, Keith Prussing <kprussing74@xxxxxxxxx> wrote:
Is there a way to get the managed make system to build the files in a non-alphabetical order? I have been trying to learn how to work with modules and I have found that if the module name is alphabetically later than the main program file, the managed make system will not build the module before trying to build the main executable. I have found a work around by not stopping on the first build error, but that requires me to build the project twice to get any updates to the module and I was hoping for a more streamlined method.

I was also wondering if there was a way to set Photran to run ar.exe to make libraries. I have been playing with various settings, but I haven't been able to find a way to make that work.

Any suggestions?

I have a very low opinion of managed make, and my suggestion is to not
use it.  Write your own make files.  It is not that hard to learn
make.

Managed make was part of CDT, and some people at Intel hacked on it to
make it work for Photran.  Nobody at Illinois has ever paid much
attention to it.  Our test programs are big systems that have complex
makefiles.  Managed make is not part of our research agenda, and I do
not think it will be important to our main target audience, which is
people programming supercomputers.  I know a lot of people like it.  I
understand the desire to avoid hacking makefiles, because they are
ugly.

Managed make is ok for HelloWorld, but once you start to do something
complicated, you should write your own makefile.

If someone wants to create a robust and powerful managed make, I would
not want to discourage you.  If you succeed, I will even change my
advice

-Ralph Johnson
_______________________________________________
photran mailing list
photran@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/photran


Back to the top