<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Compile function needed]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=28</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=28&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Compile function needed.]]></description>
		<lastBuildDate>Wed, 18 May 2011 00:31:20 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Compile function needed]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=69#p69</link>
			<description><![CDATA[<p>John,</p><p>The process can be time consuming, and I think a &quot;compile&quot; option makes sense.&nbsp; However, there is the issue of Fortran module dependencies to consider.&nbsp; Due to the nature of Fortran 90 and later standards, compilation of even a single file can fail if the modules it depends on are not yet built.&nbsp; Therefore, to compile a single file, any files containing modules on which it depends must be built first.&nbsp; A single-file compile option, even just for checking syntax, would need the dependent modules compiled first.&nbsp; This requirement can be overcome with some ease, but I just wanted to explain the issue involved.&nbsp; While one might want to compile just a single file, it may be necessary to trigger recompilation of all files on which the file of interest depends.&nbsp; The process would still require a call out to the makefile.&nbsp; </p><p>I&#039;ll have a look into the best way to implement a single-file compile option.&nbsp; I agree that it would be useful.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Wed, 18 May 2011 00:31:20 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=69#p69</guid>
		</item>
		<item>
			<title><![CDATA[Compile function needed]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=68#p68</link>
			<description><![CDATA[<p>We need a facility to compile just the current source file.<br />This is so that, after working on one source file, one can compile it to check for errors before&nbsp; move on to another source file that needs further work.</p><p>It is also sometimes needed when an existing program needs debugging and just one source file needs to be re-compiled with the debug option set.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </p><p>At present, when I want to compile just one source file, I have to,<br /> - make some simple change to it. like adding a space at the end of a line,<br /> - SAVE the file, and<br /> - BUILD the PROJECT.</p><p>This works because SF keeps track of which files have been edited and only re-compiles these, but it then re-links and loads the whole project, which is often unnecessary.</p><p>Hence the need for a facility to compile just one file and not rebuild the project.</p><p>Building the project should still sense which files have changed, exactly as now.<br />---<br />John</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Tue, 17 May 2011 11:30:17 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=68#p68</guid>
		</item>
	</channel>
</rss>
