<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — problem constructing 32 bits library]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=236&amp;type=atom" />
	<updated>2013-08-07T22:13:08Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=236</id>
		<entry>
			<title type="html"><![CDATA[Re: problem constructing 32 bits library]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=924#p924" />
			<content type="html"><![CDATA[<p>First, in Project Options, make sure to add the following flag to the Linker flags to your DLL project:</p><div class="codebox"><pre><code>-static</code></pre></div><p>This flag ensures the DLL will contain the necessary GNU Fortran runtime routines, notably the ones you&#039;ve mentioned.</p><p>Second, which version of Simply Fortran are you currently using?&nbsp; Does this error occur when compiling your DLL?&nbsp; Did you do a complete Clean (in the Build menu) before building?</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2013-08-07T22:13:08Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=924#p924</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[problem constructing 32 bits library]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=922#p922" />
			<content type="html"><![CDATA[<p>I have written a simple subroutine using exp and log functions, when trying to create a dll of this code choosing 32 bits and shared library in the Project Options I get the following error message :</p><p>c:/simply fortran/mingw-w64/bin/../lib/gcc/x86_64-w64-mingw32/4.8.1/../../../../x86_64-w64-mingw32/bin/ld.exe: i386:x86-64 architecture of input file `build\Duration.o&#039; is incompatible with i386 output</p><p>and some :</p><p>undefined reference to `log&#039;<br />undefined reference to `exp&#039;<br />undefined reference to `malloc&#039;<br />undefined reference to `free&#039;</p><p>Could anyone help me please ?</p>]]></content>
			<author>
				<name><![CDATA[olmallet81]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=3471</uri>
			</author>
			<updated>2013-08-07T21:42:44Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=922#p922</id>
		</entry>
</feed>
