<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Link-only?]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=79&amp;type=atom" />
	<updated>2012-06-04T14:58:00Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=79</id>
		<entry>
			<title type="html"><![CDATA[Re: Link-only?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=320#p320" />
			<content type="html"><![CDATA[<p>SOD OFF SPAMMER &#039;ASHIS&#039;.<br />Nobody wants you here.&nbsp; <br />Nobody here will click your link.<br />GET STUFFED.</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2012-06-04T14:58:00Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=320#p320</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Link-only?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=319#p319" />
			<content type="html"><![CDATA[<p>SPAM DELETED</p>]]></content>
			<author>
				<name><![CDATA[ASHIS]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=442</uri>
			</author>
			<updated>2012-06-04T13:40:40Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=319#p319</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Link-only?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=256#p256" />
			<content type="html"><![CDATA[<p>John,</p><p>One way to get around this problem right now would be to delete the target program (P) manually.&nbsp; Simply deleting it will cause the linking step to be executed when a build is requested.&nbsp; I&#039;m not sure it would make sense to add a &quot;Link&quot; option to the build menu as it seems a bit much.&nbsp; </p><p>If you don&#039;t allow Simply Fortran to automatically rebuild your makefiles, you could also add a dependency manually to the final linking step.&nbsp; For example, if you want to force linking to occur every time a library (let&#039;s call it &#039;extra.a&#039;) changes, you could change the makefile linking line from:</p><div class="codebox"><pre><code>Project.exe:  ..\cfm6\build\cfm6.o ..\cfm6\build\qck6.o ..\cfm6\build\sup6.o</code></pre></div><p>to</p><div class="codebox"><pre><code>Project.exe:  ..\cfm6\build\cfm6.o ..\cfm6\build\qck6.o ..\cfm6\build\sup6.o ..\..\lib\extra.a</code></pre></div><p>Now linking Project.exe will occur whenever extra.a changes.&nbsp; I know it&#039;s not ideal, but it is a solution.</p><p>Simply Fortran will add libraries to the dependency lists if the library is included in the project tree.&nbsp; This method can sometimes lead to link errors as library order may be important.&nbsp; However, if a library is in the project tree, Simply Fortran&#039;s link step dependencies should reflect this.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2012-03-18T18:40:20Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=256#p256</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Link-only?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=255#p255" />
			<content type="html"><![CDATA[<p>A problem happening a lot for me:</p><p>My Fortran application project (&#039;P&#039;, say) uses, inter alia, a custom-made library (say, &#039;L&#039;).</p><p>Whilst developing (P), I find a need to edit one of the routines in (L).<br />I therefore switch to (L), edit the required routine, re-build (L), and switch back to (P).</p><p>I have made no changes to (P) so when I rebuild (P), nothing gets re-compiled.<br />When re-building (P), I can&#039;t tell from the information appearing in the Build Status whether the libraries are all re-seached and re-linked.&nbsp; Jeff, are they, and can this be made clearer?</p><p>Given that (P) has no way of knowing that t(L) has changed, I have been assuming that the libraries are not re-linked in these circumstances.&nbsp; I therefore need to force them to re-link.&nbsp; The only way I can find to do this is to CLEAN (P) and then re-build (P).&nbsp; This, however, takes ages in a big project, because of the time it takes to re-compile (needlessly) all the routines of (P).&nbsp; Is there a way to force a re-build to re-link all libraries?<br />--- <br />John</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2012-03-18T11:10:18Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=255#p255</id>
		</entry>
</feed>
