<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Approximatrix Forums — Double " in makefile]]></title>
	<link rel="self" href="https://forums.approximatrix.com/extern.php?action=feed&amp;tid=65&amp;type=atom" />
	<updated>2012-02-17T01:26:04Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.approximatrix.com/viewtopic.php?id=65</id>
		<entry>
			<title type="html"><![CDATA[Re: Double " in makefile]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=201#p201" />
			<content type="html"><![CDATA[<p>John,</p><p>I&#039;m glad you posed the question to the forum.&nbsp; If anyone else is having a similar issue, they might gain something by it being posted here.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2012-02-17T01:26:04Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=201#p201</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Double " in makefile]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=199#p199" />
			<content type="html"><![CDATA[<p>Ah yes, I remember!&nbsp; I had completely forgotten it was because I&#039;d changed the command shell.&nbsp; Sorry for asking the same question twice!<br />---<br />J.</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2012-02-16T21:31:11Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=199#p199</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Double " in makefile]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=196#p196" />
			<content type="html"><![CDATA[<p>John,</p><p>The problem you&#039;re experiencing is because you have an alternative command shell, 4NT, installed.&nbsp; The double-quotes are necessary for everyone who uses the standard Windows command shell, CMD.EXE, and have Simply Fortran installed in a path containing parentheses.&nbsp; The occurrence of double quotes is not a bug; on the contrary, their presence is quite deliberate.&nbsp; </p><p>If I recall correctly, you have mapped drives to your Simply Fortran installation.&nbsp; After a reboot, I would guess that the drive mappings aren&#039;t reinitializing.&nbsp; Simply Fortran versions since 1.24 now have a sanity check at startup to determine if the paths to the compilers are valid.&nbsp; If the stored path isn&#039;t valid (for example, if a drive mapping isn&#039;t functioning), Simply Fortran attempts to locate the compilers itself and internally resets the paths.&nbsp; </p><p>There are a few solutions to your problem:</p><p>1.&nbsp; You could uninstall 4NT, which, I&#039;m guessing, you don&#039;t wish to do.&nbsp; A fix for dealing with alternate command shells is in the works, but it involves changes to Open Watcom&#039;s wmake, not Simply Fortran.</p><p>2.&nbsp; You could ensure the drive mappings persist before starting Simply Fortran.&nbsp; I&#039;m not sure how to do this other than manually navigating to the drives using Windows explorer, which is tedious.</p><p>3.&nbsp; You could install Simply Fortran into a different directory.&nbsp; Any directory that doesn&#039;t contain parentheses would fix your issue immediately.&nbsp; I would suggest &quot;C:\SimplyFortran&quot; or even &quot;C:\Program Files\Simply Fortran&quot; although the latter violates Windows&#039; arbitrary rule of only installing 64-bit applications to &quot;C:\Program Files.&quot;</p><p>I apologize for the issue you&#039;re seeing, but edge cases can be difficult to deal with on occasion.&nbsp; I am aware of the problem, however, and I&#039;m working on it.</p>]]></content>
			<author>
				<name><![CDATA[jeff]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=2</uri>
			</author>
			<updated>2012-02-16T14:10:51Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=196#p196</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Double " in makefile]]></title>
			<link rel="alternate" href="https://forums.approximatrix.com/viewtopic.php?pid=193#p193" />
			<content type="html"><![CDATA[<p>I believe you told me a while ago, Jeff, that a strange quirk with Windows can cause the makefile to produce strings with double-double inverted commas.&nbsp; </p><p>In my current project, and using SF 1.25, all was well, building and re-building normally, until after a cold re-boot.&nbsp; Then, when attempting a re-build, I obtained this error:</p><p>===============================================<br />Open Watcom Make Version 1.9<br />Portions Copyright (c) 1988-2002 Sybase, Inc. All Rights Reserved.<br />Source code is available under the Sybase Open Watcom Public License.<br />See <a href="http://www.openwatcom.org/">http://www.openwatcom.org/</a> for details.<br />&nbsp; &nbsp; &quot;&quot;C:\Program Files (x86)\Fortran\Simply\mingw\bin\gfortran.exe&quot;&quot; -c -o build\rMatls.o -g -mtune=core2 -IC:/PROGRA~2/Fortran/Simply/mingw/include/ -IG:/InStruct/../MODULES -IG:/InStruct/../INCLUDE -fdollar-ok&nbsp; -Jmodules .\Source\rMatls.for<br />4NT: Unknown command &quot;C:\Program&quot;<br />Error(E42): Last command making (build\rMatls.o) returned a bad status<br />===============================================</p><br /><p>Looking at the makefile, I found this code in the first few lines:</p><p>#<br /># Automagically generated by Approximatrix Simply Fortran<br />#<br />FC=&quot;&quot;C:\Program Files (x86)\Fortran\Simply\mingw\bin\gfortran.exe&quot;&quot;<br />CC=&quot;&quot;C:\Program Files (x86)\Fortran\Simply\mingw\bin\gcc.exe&quot;&quot;<br />AR=&quot;F:\mingw\bin\ar.exe&quot;<br />TOUCH=&quot;&quot;C:\Program Files (x86)\Fortran\Simply\fwin\wtouch.exe&quot;&quot;<br />RM=del</p><p>IDIR=-IC:/PROGRA~2/Fortran/Simp.....</p><br /><p>Checking the currently-set options I found these strings saved:<br />Make location<br />C:\Program Files (x86)\Fortran\Simply\fwin\wmake.exe<br />Touch location<br />C:\Program Files (x86)\Fortran\Simply\fwin\wtouch.exe<br />Compiler location<br />C:\Program Files (x86)\Fortran\Simply\mingw\bin\gfortran.exe<br />AR location<br />F:\mingw\bin\ar.exe</p><p>I can solve this by two methods.&nbsp; One is to correct the makefile manually and deselect the project option to regenerate it.&nbsp; The other is to chnge my options settings to use my F:\ virtual drive path for all locations, thus:<br />Make location<br />F:\fwin\wmake.exe<br />Touch location<br />F:\fwin\wtouch.exe<br />Compiler location<br />F:\mingw\bin\gfortran.exe<br />AR location<br />F:\mingw\bin\ar.exe</p><p>(For other readers&#039; benefit, I use a Win Doze utility to assign the path <br />&quot;C:\Program Files (x86)\Fortran\Simply&quot; to a virtual drive I call &quot;F:\&quot;)</p><p>It is odd that this problem &#039;went away&#039; after the last time I reported it and has only come back after a cold reboot.&nbsp; As bfore, I&#039;ve found a way to make it &#039;go away&#039; again, but you might want to look into it, Jeff.<br />----<br />John</p>]]></content>
			<author>
				<name><![CDATA[JohnWasilewski]]></name>
				<uri>https://forums.approximatrix.com/profile.php?id=102</uri>
			</author>
			<updated>2012-02-16T06:26:34Z</updated>
			<id>https://forums.approximatrix.com/viewtopic.php?pid=193#p193</id>
		</entry>
</feed>
