<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Approximatrix Forums — What is 'rm'?]]></title>
		<link>https://forums.approximatrix.com/viewtopic.php?id=371</link>
		<atom:link href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=371&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in What is 'rm'?.]]></description>
		<lastBuildDate>Fri, 19 Sep 2014 13:28:28 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: What is 'rm'?]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1508#p1508</link>
			<description><![CDATA[<p>John, </p><p>Yes, thanks for this report.&nbsp; These small errors can be tricky to find.</p><p>It&#039;s now <a href="https://bitbucket.org/ArmstrongJ/wmake/commits/ca2d0993a361ee659cdccc7941b094c497a80249?at=master#chg-c/mexec.c">fixed in the development version</a>, and I&#039;ll try to get a new build out of 2.16 including this fix next week.&nbsp; The issue was that the make system was not respecting quotes when detecting if what it thought were special characters were present in the command string.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Fri, 19 Sep 2014 13:28:28 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1508#p1508</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is 'rm'?]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1507#p1507</link>
			<description><![CDATA[<p>Yep, thanks Jeff, my target executables (in) two makefiles both in the same project were named as, &quot;InStruct(64bit).SF.exe&quot; and &quot;InStruct(32bit).SF.exe&quot;.</p><p>It all worked, save for the &#039;rm&#039; error when using the &#039;Clean&#039; command, which seemed not to matter - though I&#039;d guess in certain circumstances it would do.</p><p>I&#039;ve changed the target executables to &quot;InStruct64.exe&quot; and &quot;InStruct32.exe&quot;.<br />After regenerating the Makefile with the amended and saved options with the revised target executable names, this eliminates the error message when using &#039;Clean&#039;.</p><p>I&#039;m glad I found it though, if this enables you to pick up another small thing that you are able to fix.<br />--- <br />John</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Fri, 19 Sep 2014 12:29:46 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1507#p1507</guid>
		</item>
		<item>
			<title><![CDATA[Re: What is 'rm'?]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1506#p1506</link>
			<description><![CDATA[<p>John,</p><p>The <em>rm</em> command inside the Makefile is equivalent to <em>del</em> at the prompt.&nbsp; The <em>rm</em> command should be caught by the make system, and a file delete performed.</p><p>It would appear, however, that it is attempting to execute <em>rm</em> through the command shell.&nbsp; &nbsp;I&#039;m guessing this is occurring because you&#039;ve put parentheses in your executable name.&nbsp; This behavior is a bug; the make system should be catching and translating the <em>rm</em> command regardless of the arguments. However, I would advise against using parentheses in your target name in general as many Windows programs do not handle such filenames properly (even though they should, like <em>wmake.exe</em> for example).</p><p>I&#039;ll look at the code and get <em>wmake.exe</em>, Simply Fortran&#039;s&nbsp; make system, fixed up.</p>]]></description>
			<author><![CDATA[null@example.com (jeff)]]></author>
			<pubDate>Fri, 19 Sep 2014 12:14:12 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1506#p1506</guid>
		</item>
		<item>
			<title><![CDATA[What is 'rm'?]]></title>
			<link>https://forums.approximatrix.com/viewtopic.php?pid=1505#p1505</link>
			<description><![CDATA[<p>When I clean my current project, I&#039;ve been getting this error message at the end of the clean narrative, for about the last couple of weeks.&nbsp; It seems not to matter because CLEAN seems still to be successful, but I&#039;d like to get rid of it if I could find out how to do so.</p><p>:<br />:<br />:<br />Deleting .\build64\WinINIT.o and related files<br />Deleting .\build64\WinMenus.o and related files<br />Deleting .\build64\WinSCR.o and related files<br />Deleting default icon resource<br />Deleting Instruct(64bit).SF.exe<br />&#039;rm&#039; is not recognized as an internal or external command,<br />operable program or batch file.<br />Error(E42): Last command making (clean) returned a bad status<br />Error(E02): Make execution terminated</p><p>* Failed *</p><br /><br /><p>In case it&#039;s relevant, I&#039;ve also noticed that my Makefile begins like this:</p><p>#<br /># Automagically generated by Approximatrix Simply Fortran 2.16<br />#<br />FC=&quot;C:\Program Files (x86)\Fortran\SF2\mingw-w64\bin\gfortran.exe&quot;<br />CC=&quot;C:\Program Files (x86)\Fortran\SF2\mingw-w64\bin\gcc.exe&quot;<br />AR=&quot;C:\Program Files (x86)\Fortran\SF2\mingw-w64\bin\ar.exe&quot;<br />WRC=&quot;C:\PROGRA~2\Fortran\SF2\MINGW-~1\bin\windres.exe&quot;<br />RM=rm -f<br />:<br />:<br />:<br />:</p><p>---- <br />John</p>]]></description>
			<author><![CDATA[null@example.com (JohnWasilewski)]]></author>
			<pubDate>Fri, 19 Sep 2014 01:09:25 +0000</pubDate>
			<guid>https://forums.approximatrix.com/viewtopic.php?pid=1505#p1505</guid>
		</item>
	</channel>
</rss>
