<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Building library]]></title>
		<link>http://forums.approximatrix.com/viewtopic.php?id=497</link>
		<atom:link href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=497&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Building library.]]></description>
		<lastBuildDate>Fri, 30 Oct 2015 11:43:05 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Building library]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2254#p2254</link>
			<description><![CDATA[<p>Klaus,</p><p>That&#039;s good to hear.&nbsp; I would suggest changing the <a href="http://simplyfortran.com/docs/full/options/project.html">&quot;Target Name&quot;</a> for each library so that you don&#039;t end up having to rename them in Windows Explorer or something similar.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Fri, 30 Oct 2015 11:43:05 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2254#p2254</guid>
		</item>
		<item>
			<title><![CDATA[Re: Building library]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2253#p2253</link>
			<description><![CDATA[<p>Jeff, <br />After downloading version 2.25 of Simply Fortran the lib is created without any remark. I suppose that the library has to be renamed later for use in the main program due to build more libraries?<br />Regards, Klaus</p>]]></description>
			<author><![CDATA[null@example.com (Klaus Asmus)]]></author>
			<pubDate>Fri, 30 Oct 2015 10:26:37 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2253#p2253</guid>
		</item>
		<item>
			<title><![CDATA[Re: Building library]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2235#p2235</link>
			<description><![CDATA[<p>Klaus,</p><p>I think this makefile is not complete.&nbsp; Did you neglect to include some earlier information such as where PRJ_LFLAGS would be defined?</p><p>I suspect it may have something to do with $(PRJ_LFLAGS) being included in the AR command.&nbsp; I&#039;ve actually just disabled that flag for the next release of Simply Fortran if you&#039;re building a static library.&nbsp; Usually that variable should contain linker flags, but static libraries are not &quot;linked&quot; until the calling executable is compiled.&nbsp; Any flags will most likely just confuse AR. </p><p>Do you have anything set in the Linker box in Project Options under the Compiler Flags tab for this static library project?&nbsp; If so, delete anything in that box.&nbsp; It will almost certainly confuse AR.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Thu, 08 Oct 2015 16:34:36 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2235#p2235</guid>
		</item>
		<item>
			<title><![CDATA[Re: Building library]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2234#p2234</link>
			<description><![CDATA[<p>Hi Jeff,<br />Hereby the requested contents of the Makefile:</p><p>FFLAGS=$(SPECIALFLAGS) $(OPTFLAGS) $(PRJ_FFLAGS) -J../modules </p><p>CFLAGS=$(SPECIALFLAGS) $(OPTFLAGS) $(PRJ_CFLAGS)</p><p>&quot;E:\ASC_prog_files\CASTOR12\StructureConcept\loadsetglobals.o&quot;: &quot;.\loadsetglobals.f90&quot;<br />&nbsp; &nbsp; @echo Compiling .\loadsetglobals.f90<br />&nbsp; &nbsp; @$(FC) -c -o &quot;E:\ASC_prog_files\CASTOR12\StructureConcept\loadsetglobals.o&quot; $(FFLAGS) &quot;.\loadsetglobals.f90&quot;<br />&quot;..\modules\loadsetglobals.mod&quot; &quot;..\modules\scantlings_vars.mod&quot; : &quot;E:\ASC_prog_files\CASTOR12\StructureConcept\loadsetglobals.o&quot; .EXISTSONLY<br />&nbsp; &nbsp; @echo Compiling .\loadsetglobals.f90<br />&nbsp; &nbsp; @$(FC) -c -o &quot;E:\ASC_prog_files\CASTOR12\StructureConcept\loadsetglobals.o&quot; $(FFLAGS) &quot;.\loadsetglobals.f90&quot;</p><p>&quot;E:\ASC_prog_files\CASTOR12\StructureConcept\menu_control_struc_concept.o&quot;: &quot;.\menu_control_struc_concept.f90&quot;<br />&nbsp; &nbsp; @echo Compiling .\menu_control_struc_concept.f90<br />&nbsp; &nbsp; @$(FC) -c -o &quot;E:\ASC_prog_files\CASTOR12\StructureConcept\menu_control_struc_concept.o&quot; $(FFLAGS) &quot;.\menu_control_struc_concept.f90&quot;</p><p>&quot;E:\ASC_prog_files\CASTOR12\StructureConcept\NavigateStructureConcept.o&quot;: &quot;.\NavigateStructureConcept.f90&quot; &quot;..\modules\loadsetglobals.mod&quot;<br />&nbsp; &nbsp; @echo Compiling .\NavigateStructureConcept.f90<br />&nbsp; &nbsp; @$(FC) -c -o &quot;E:\ASC_prog_files\CASTOR12\StructureConcept\NavigateStructureConcept.o&quot; $(FFLAGS) &quot;.\NavigateStructureConcept.f90&quot;</p><p>clean: .SYMBOLIC<br />&nbsp; &nbsp; @echo Deleting E:\ASC_prog_files\CASTOR12\StructureConcept\loadsetglobals.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;E:\ASC_prog_files\CASTOR12\StructureConcept\loadsetglobals.o&quot; &quot;..\modules\loadsetglobals.mod&quot; &quot;..\modules\scantlings_vars.mod&quot;<br />&nbsp; &nbsp; @echo Deleting E:\ASC_prog_files\CASTOR12\StructureConcept\menu_control_struc_concept.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;E:\ASC_prog_files\CASTOR12\StructureConcept\menu_control_struc_concept.o&quot;<br />&nbsp; &nbsp; @echo Deleting E:\ASC_prog_files\CASTOR12\StructureConcept\NavigateStructureConcept.o and related files<br />&nbsp; &nbsp; @$(RM) &quot;E:\ASC_prog_files\CASTOR12\StructureConcept\NavigateStructureConcept.o&quot;<br />&nbsp; &nbsp; @echo Deleting fortran-library.a<br />&nbsp; &nbsp; @$(RM) &quot;fortran-library.a&quot;</p><p>&quot;fortran-library.a&quot;:&nbsp; &quot;E:\ASC_prog_files\CASTOR12\StructureConcept\loadsetglobals.o&quot; &quot;E:\ASC_prog_files\CASTOR12\StructureConcept\menu_control_struc_concept.o&quot; &quot;E:\ASC_prog_files\CASTOR12\StructureConcept\NavigateStructureConcept.o&quot; &quot;E:\ASC_prog_files\CASTOR12\StructureConcept\structure concept.prj.target&quot;<br />&nbsp; &nbsp; @echo Generating fortran-library.a<br />&nbsp; &nbsp; @$(AR) rcs &quot;fortran-library.a&quot; &quot;E:\ASC_prog_files\CASTOR12\StructureConcept\loadsetglobals.o&quot; &quot;E:\ASC_prog_files\CASTOR12\StructureConcept\menu_control_struc_concept.o&quot; &quot;E:\ASC_prog_files\CASTOR12\StructureConcept\NavigateStructureConcept.o&quot; $(PRJ_LFLAGS)</p><p>all: &quot;fortran-library.a&quot; .SYMBOLIC</p><p>Don&#039;t hurry with reply; I am a couple of day&#039;s off.<br />Regards, Klaus</p>]]></description>
			<author><![CDATA[null@example.com (Klaus Asmus)]]></author>
			<pubDate>Wed, 07 Oct 2015 20:06:53 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2234#p2234</guid>
		</item>
		<item>
			<title><![CDATA[Re: Building library]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2231#p2231</link>
			<description><![CDATA[<p>Klaus,</p><p>Could you post the contents of your Makefile here?&nbsp; I suspect some option is being set incorrectly by Simply Fortran.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Wed, 07 Oct 2015 14:27:35 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2231#p2231</guid>
		</item>
		<item>
			<title><![CDATA[Building library]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=2228#p2228</link>
			<description><![CDATA[<p>Hi jeff, <br />I want to build a library containig source for special tasks.<br />After compiling three files generating of the lib fails with the following message:<br />==============================================================================<br />Generating Makefile... Okay<br />==============================================================================<br />Compiling .\loadsetglobals.f90<br />Compiling .\menu_control_struc_concept.f90<br />Compiling .\NavigateStructureConcept.f90<br />Generating fortran-library.a<br />C:\Program Files (x86)\Simply Fortran 2\mingw-w64\bin\ar.exe: two different operation options specified<br />Error(E42): Last command making (fortran-library.a) returned a bad status<br />Error(E02): Make execution terminated</p><p>* Failed *</p><p>I am using default options for that project only.<br />I am not experianced with compiler and builder options. Could you explain wat to do with the different &quot;operation options&quot;?<br />Thanks, Klaus</p>]]></description>
			<author><![CDATA[null@example.com (Klaus Asmus)]]></author>
			<pubDate>Tue, 06 Oct 2015 10:54:19 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=2228#p2228</guid>
		</item>
	</channel>
</rss>
