<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — What is 'rm'?]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=371&amp;type=atom" />
	<updated>2014-09-19T13:28:28Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=371</id>
		<entry>
			<title type="html"><![CDATA[Re: What is 'rm'?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1508#p1508" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2014-09-19T13:28:28Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1508#p1508</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: What is 'rm'?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1507#p1507" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2014-09-19T12:29:46Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1507#p1507</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: What is 'rm'?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1506#p1506" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2014-09-19T12:14:12Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1506#p1506</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[What is 'rm'?]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=1505#p1505" />
			<content type="html"><![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>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2014-09-19T01:09:25Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=1505#p1505</id>
		</entry>
</feed>
