<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — Iargc() and Getarg()]]></title>
		<link>http://forums.approximatrix.com/viewtopic.php?id=937</link>
		<atom:link href="http://forums.approximatrix.com/extern.php?action=feed&amp;tid=937&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in Iargc() and Getarg().]]></description>
		<lastBuildDate>Sun, 25 Feb 2024 13:30:33 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: Iargc() and Getarg()]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=4284#p4284</link>
			<description><![CDATA[<p>Yup I had Fortran set to 95. Complies just fine when set to Legacy. Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (Lewist57)]]></author>
			<pubDate>Sun, 25 Feb 2024 13:30:33 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=4284#p4284</guid>
		</item>
		<item>
			<title><![CDATA[Re: Iargc() and Getarg()]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=4283#p4283</link>
			<description><![CDATA[<p>Our included compiler, GNU Fortran, is not actually based on the old GNU g77 compiler; it is an entirely different compiler.&nbsp; However, the runtime library should provide those routines for backwards compatibility purposes.&nbsp; Do you happen to have a Fortran standard flag set?</p><p>Regardless, you could (and probably should) change them to the current standards-compliant calls:</p><p><em>iargc</em> becomes <em><a href="https://simplyfortran.com/docs/compiler/COMMAND_005fARGUMENT_005fCOUNT.html#COMMAND_005fARGUMENT_005fCOUNT">command_argument_count</a></em></p><p><em>getarg</em> becomes <em><a href="https://simplyfortran.com/docs/compiler/GET_005fCOMMAND_005fARGUMENT.html#GET_005fCOMMAND_005fARGUMENT">get_command_argument</a></em></p><p>Again, unless you&#039;ve set a flag/option to enforce a standard, the original code should have worked.&nbsp; I&#039;ll look into it.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Sat, 24 Feb 2024 19:27:34 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=4283#p4283</guid>
		</item>
		<item>
			<title><![CDATA[Iargc() and Getarg()]]></title>
			<link>http://forums.approximatrix.com/viewtopic.php?pid=4282#p4282</link>
			<description><![CDATA[<p>)/Trying to compile some relatively old (90/95) code, and get the following compile time errors:</p><p>Generating target.exe<br />..\Test symbol table\F77_CLEANUP source code.o:F77_CLEANUP source code.f:(.text+0x15c0): undefined reference to `iargc_&#039;<br />..\Test symbol table\F77_CLEANUP source code.o:F77_CLEANUP source code.f:(.text+0x1883): undefined reference to `getarg_&#039;<br />..\Test symbol table\F77_CLEANUP source code.o:F77_CLEANUP source code.f:(.text+0x1b40): undefined reference to `getarg_&#039;<br />collect2.exe: error: ld returned 1 exit status<br />Error: Last command making (target.exe) returned a bad status<br />Error: Make execution terminated</p><p>Apparently iargc() and getarg() are intrinsic functions for GNU 77, which this compiler is based upon?&nbsp; Is this correct, and if so, are there any compiler or linker settings that need to be in place to compile properly?</p><p>Thanks!</p>]]></description>
			<author><![CDATA[null@example.com (Lewist57)]]></author>
			<pubDate>Fri, 23 Feb 2024 00:36:49 +0000</pubDate>
			<guid>http://forums.approximatrix.com/viewtopic.php?pid=4282#p4282</guid>
		</item>
	</channel>
</rss>
