<rss xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" version="2.0">
  <channel>
    <title>MaplePrimes - answers and comments on Question, Win7 and Compiler</title>
    <link>http://www.mapleprimes.com/questions/138276-Win7-And-Compiler</link>
    <language>en-us</language>
    <copyright>2026 Maplesoft, A Division of Waterloo Maple Inc.</copyright>
    <generator>Maplesoft Document System</generator>
    <lastBuildDate>Thu, 11 Jun 2026 05:30:42 GMT</lastBuildDate>
    <pubDate>Thu, 11 Jun 2026 05:30:42 GMT</pubDate>
    <itunes:subtitle />
    <itunes:summary />
    <description>The latest answers and comments added to the Question, Win7 and Compiler</description>
    <image>
      <url>http://www.mapleprimes.com/images/mapleprimeswhite.jpg</url>
      <title>MaplePrimes - answers and comments on Question, Win7 and Compiler</title>
      <link>http://www.mapleprimes.com/questions/138276-Win7-And-Compiler</link>
    </image>
    <item>
      <title>It works for me</title>
      <link>http://www.mapleprimes.com/questions/138276-Win7-And-Compiler?ref=Feed:MaplePrimes:Win7 and Compiler:Comments#answer138282</link>
      <itunes:summary>&lt;p&gt;with Maple 16.01 32bit in Standard Document Mode on Windows 7 Home Basic 32bit.&lt;/p&gt;
&lt;p&gt;See &lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -23;" src="/view.aspx?sf=138282/444373/c2639ceadb60d33507988fc6b270d46e.gif" alt="tmp := proc (x::float)::float; 2.3*x end proc:" width="576" height="40" align="middle"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=138282/444373/0b60a51b60097433f36536a3cb706b98.gif" alt="tmp(3.1)" width="60" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=138282/444373/2eb421b9ac027284917f3d797e696166.gif" alt="7.13" width="32" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(1)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=138282/444373/cfda61ceabf64c4f67980ff0dfd1a8cf.gif" alt="cp := Compiler:-Compile(tmp);" width="208" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -109;" src="/view.aspx?sf=138282/444373/d58f5f494b2f43385e719ae8a7dccf8f.gif" alt="proc () options call_external, define_external(_m5baf19ae3ac83cccc1982675003dcb17, MAPLE, LIB = &amp;quot;C:\Users\Admin\AppData\Local\Temp\Admin-4372\_m5baf19ae3ac83cccc1982675003dcb17irbx50dp.dll&amp;quot;); call_external(0, 68948000, true, false, args) end proc" width="546" height="126" align="middle"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(2)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=138282/444373/8d40a50f4ecd3d459cff77d32374bf17.gif" alt="cp(3.1)" width="52" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=138282/444373/aedbee324c3c4dc1ad8974089a2e1800.gif" alt="7.12999999999999990" width="144" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(3)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=138282/444373/80d1e219f5d068f805ee71fe153626da.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt; &lt;input type="hidden" name="cmd" value="none"&gt;&lt;/form&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=138282/444373/compiler.mw"&gt;Download compiler.mw&lt;/a&gt;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;with Maple 16.01 32bit in Standard Document Mode on Windows 7 Home Basic 32bit.&lt;/p&gt;
&lt;p&gt;See &lt;/p&gt;
&lt;form name="worksheet_form"&gt;
&lt;table style="width: 576px;" align="center"&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -23;" src="/view.aspx?sf=138282/444373/c2639ceadb60d33507988fc6b270d46e.gif" alt="tmp := proc (x::float)::float; 2.3*x end proc:" width="576" height="40" align="middle"&gt;&lt;/p&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=138282/444373/0b60a51b60097433f36536a3cb706b98.gif" alt="tmp(3.1)" width="60" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=138282/444373/2eb421b9ac027284917f3d797e696166.gif" alt="7.13" width="32" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(1)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=138282/444373/cfda61ceabf64c4f67980ff0dfd1a8cf.gif" alt="cp := Compiler:-Compile(tmp);" width="208" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -109;" src="/view.aspx?sf=138282/444373/d58f5f494b2f43385e719ae8a7dccf8f.gif" alt="proc () options call_external, define_external(_m5baf19ae3ac83cccc1982675003dcb17, MAPLE, LIB = &amp;quot;C:\Users\Admin\AppData\Local\Temp\Admin-4372\_m5baf19ae3ac83cccc1982675003dcb17irbx50dp.dll&amp;quot;); call_external(0, 68948000, true, false, args) end proc" width="546" height="126" align="middle"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(2)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=138282/444373/8d40a50f4ecd3d459cff77d32374bf17.gif" alt="cp(3.1)" width="52" height="23"&gt;&lt;/p&gt;
&lt;table&gt;
&lt;tbody&gt;
&lt;tr valign="baseline"&gt;
&lt;td&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="center"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=138282/444373/aedbee324c3c4dc1ad8974089a2e1800.gif" alt="7.12999999999999990" width="144" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;td style="color: #000000; font-family: Times, serif; font-weight: bold; font-style: normal;" align="right"&gt;(3)&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;p style="margin: 0 0 0 0; padding-top: 0px; padding-bottom: 0px;" align="left"&gt;&lt;img style="vertical-align: -6;" src="/view.aspx?sf=138282/444373/80d1e219f5d068f805ee71fe153626da.gif" alt="``" width="11" height="23"&gt;&lt;/p&gt;
&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;
&lt;input type="hidden" name="sequence" value="1"&gt; &lt;input type="hidden" name="cmd" value="none"&gt;&lt;/form&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;a href="/view.aspx?sf=138282/444373/compiler.mw"&gt;Download compiler.mw&lt;/a&gt;&lt;/p&gt;</description>
      <guid>138282</guid>
      <pubDate>Sun, 14 Oct 2012 00:55:34 Z</pubDate>
      <itunes:author>Markiyan Hirnyk</itunes:author>
      <author>Markiyan Hirnyk</author>
    </item>
    <item>
      <title>ssystem</title>
      <link>http://www.mapleprimes.com/questions/138276-Win7-And-Compiler?ref=Feed:MaplePrimes:Win7 and Compiler:Comments#answer138310</link>
      <itunes:summary>&lt;p&gt;It seems that the hang occurs in a call to `ssystem`. Is the `ssystem` command busted altogether, in this interface/installation/OS combination?&lt;/p&gt;
&lt;p&gt;Now it's not a replacement for more general uses but it seems as if the particular use of `ssystem` inside Compiler:-Compile can also be accomplished by using `system`. (It's the step of running the external compilation command, to compile the .c file to .obj using the watcom executable.)&lt;/p&gt;
&lt;p&gt;So, on my 64bit Windows 7 Pro (with 64bit Maple 16.01 also installed, fwiw), running the 32bit Maple 16.01 Classic GUI,&lt;/p&gt;
&lt;pre&gt;restart:

mycompile:=proc()
    local res;
    unprotect(:-ssystem);
    :-ssystem:=proc() option builtin="system"; end proc;
    try
        res:=Compiler:-Compile(args);
    finally
        :-ssystem:=proc() option builtin="ssystem"; end proc;
        protect(:-ssystem);
    end try;
    eval(res);
end proc:

p:=proc(x) sin(1.0*x); end proc:

cp:=mycompile(p):

cp(2);

                         0.909297426825681710

interface(version);

  Classic Worksheet Interface, Maple 16.01, Windows, Apr 30 2012, \
        Build ID 743496
&lt;/pre&gt;
&lt;p&gt;I don't know why I bothered with the `finally` clause, since it might just be reinstating something which doesn't work.&lt;/p&gt;
&lt;!--break--&gt;
&lt;p&gt;acer&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;It seems that the hang occurs in a call to `ssystem`. Is the `ssystem` command busted altogether, in this interface/installation/OS combination?&lt;/p&gt;
&lt;p&gt;Now it's not a replacement for more general uses but it seems as if the particular use of `ssystem` inside Compiler:-Compile can also be accomplished by using `system`. (It's the step of running the external compilation command, to compile the .c file to .obj using the watcom executable.)&lt;/p&gt;
&lt;p&gt;So, on my 64bit Windows 7 Pro (with 64bit Maple 16.01 also installed, fwiw), running the 32bit Maple 16.01 Classic GUI,&lt;/p&gt;
&lt;pre&gt;restart:

mycompile:=proc()
    local res;
    unprotect(:-ssystem);
    :-ssystem:=proc() option builtin="system"; end proc;
    try
        res:=Compiler:-Compile(args);
    finally
        :-ssystem:=proc() option builtin="ssystem"; end proc;
        protect(:-ssystem);
    end try;
    eval(res);
end proc:

p:=proc(x) sin(1.0*x); end proc:

cp:=mycompile(p):

cp(2);

                         0.909297426825681710

interface(version);

  Classic Worksheet Interface, Maple 16.01, Windows, Apr 30 2012, \
        Build ID 743496
&lt;/pre&gt;
&lt;p&gt;I don't know why I bothered with the `finally` clause, since it might just be reinstating something which doesn't work.&lt;/p&gt;
&lt;!--break--&gt;
&lt;p&gt;acer&lt;/p&gt;</description>
      <guid>138310</guid>
      <pubDate>Mon, 15 Oct 2012 07:39:30 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>hm ...</title>
      <link>http://www.mapleprimes.com/questions/138276-Win7-And-Compiler?ref=Feed:MaplePrimes:Win7 and Compiler:Comments#comment138283</link>
      <itunes:summary>&lt;p&gt;Thank you :-)&lt;/p&gt;
&lt;p&gt;Mine is Win 7 Professional (oops) SP 1 64 Bit, preconfigured on some Acer.&lt;/p&gt;
&lt;p&gt;I am AVt (as admin - ok, not the best idea) on my system, the user directory has AVt and public only&lt;br&gt;and I it installed as AVt, access is it as AVt (and Maple works, except 'compile').&lt;/p&gt;
&lt;p&gt;&lt;br&gt;It does not even go to show up the directory where it fails.&lt;/p&gt;
&lt;p&gt;I guess, it is an administration problem: where to write with what rights.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edited: very strange&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The *.mw works painless.&lt;/p&gt;
&lt;p&gt;Inserting and executing the simple code in a classical sheet executes and returns a&lt;br&gt;correct result. But without the output of "Compiler:-Compile(tmp)". Then it crashes. &lt;br&gt;&lt;br&gt;Sigh.&lt;/p&gt;
&lt;p&gt;I want to use it in classical sheets, as before. Of course.&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;Thank you :-)&lt;/p&gt;
&lt;p&gt;Mine is Win 7 Professional (oops) SP 1 64 Bit, preconfigured on some Acer.&lt;/p&gt;
&lt;p&gt;I am AVt (as admin - ok, not the best idea) on my system, the user directory has AVt and public only&lt;br&gt;and I it installed as AVt, access is it as AVt (and Maple works, except 'compile').&lt;/p&gt;
&lt;p&gt;&lt;br&gt;It does not even go to show up the directory where it fails.&lt;/p&gt;
&lt;p&gt;I guess, it is an administration problem: where to write with what rights.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edited: very strange&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;The *.mw works painless.&lt;/p&gt;
&lt;p&gt;Inserting and executing the simple code in a classical sheet executes and returns a&lt;br&gt;correct result. But without the output of "Compiler:-Compile(tmp)". Then it crashes. &lt;br&gt;&lt;br&gt;Sigh.&lt;/p&gt;
&lt;p&gt;I want to use it in classical sheets, as before. Of course.&lt;/p&gt;</description>
      <guid>138283</guid>
      <pubDate>Sun, 14 Oct 2012 01:10:01 Z</pubDate>
      <itunes:author>Axel Vogt</itunes:author>
      <author>Axel Vogt</author>
    </item>
    <item>
      <title>another workaround</title>
      <link>http://www.mapleprimes.com/questions/138276-Win7-And-Compiler?ref=Feed:MaplePrimes:Win7 and Compiler:Comments#comment138783</link>
      <itunes:summary>&lt;p&gt;This also seems to work (and provides some functional `ssystem` as a bonus),&lt;/p&gt;
&lt;pre&gt;restart:

unprotect(ssystem):
ssystem:=eval(`dsolve/numeric/ssystem`):
protect(ssystem):

cp:=Compiler:-Compile( proc(x) sin(x); end proc ):

cp(2.1);

                         0.863209366648873710
&lt;/pre&gt;
&lt;p&gt;Who knew!&lt;/p&gt;
&lt;!--break--&gt;
&lt;p&gt;acer&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;This also seems to work (and provides some functional `ssystem` as a bonus),&lt;/p&gt;
&lt;pre&gt;restart:

unprotect(ssystem):
ssystem:=eval(`dsolve/numeric/ssystem`):
protect(ssystem):

cp:=Compiler:-Compile( proc(x) sin(x); end proc ):

cp(2.1);

                         0.863209366648873710
&lt;/pre&gt;
&lt;p&gt;Who knew!&lt;/p&gt;
&lt;!--break--&gt;
&lt;p&gt;acer&lt;/p&gt;</description>
      <guid>138783</guid>
      <pubDate>Thu, 25 Oct 2012 06:55:09 Z</pubDate>
      <itunes:author>acer</itunes:author>
      <author>acer</author>
    </item>
    <item>
      <title>Who knew?</title>
      <link>http://www.mapleprimes.com/questions/138276-Win7-And-Compiler?ref=Feed:MaplePrimes:Win7 and Compiler:Comments#comment138872</link>
      <itunes:summary>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/138276-Win7-And-Compiler#comment138783"&gt;@acer&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;May be that Allan alone, or a few other persons, as most developers are not very fond of documenting. But my question is rather why he had to write such (externally implemented) command.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/138276-Win7-And-Compiler#comment138783"&gt;@acer&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;May be that Allan alone, or a few other persons, as most developers are not very fond of documenting. But my question is rather why he had to write such (externally implemented) command.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;</description>
      <guid>138872</guid>
      <pubDate>Sat, 27 Oct 2012 08:14:52 Z</pubDate>
      <itunes:author>Alejandro Jakubi</itunes:author>
      <author>Alejandro Jakubi</author>
    </item>
    <item>
      <title>Yet another one</title>
      <link>http://www.mapleprimes.com/questions/138276-Win7-And-Compiler?ref=Feed:MaplePrimes:Win7 and Compiler:Comments#comment138875</link>
      <itunes:summary>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/138276-Win7-And-Compiler#comment138783"&gt;@acer&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Another one is &lt;strong&gt;Grid:-g_ssystem&lt;/strong&gt;. See here:&lt;/p&gt;
&lt;pre&gt;with(Grid):
showstat(ssystem);

ssystem := proc()
   1   if StringTools[IsPrefix]("Command-line",convert(interface(version),string)) = true &lt;br&gt;or evalb(StringTools[Search]("windows",kernelopts('platform')) &amp;lt; 1) then
   2     Grid:-g_ssystem := ssystem
       else
   3     Grid:-g_ssystem := define_external(mrt_ssystem,MAPLE,LIB = "mrt.dll")
       end if;
   4   Grid:-g_ssystem(args)
end proc
&lt;/pre&gt;</itunes:summary>
      <description>&lt;p&gt;&lt;a href="http://www.mapleprimes.com/questions/138276-Win7-And-Compiler#comment138783"&gt;@acer&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Another one is &lt;strong&gt;Grid:-g_ssystem&lt;/strong&gt;. See here:&lt;/p&gt;
&lt;pre&gt;with(Grid):
showstat(ssystem);

ssystem := proc()
   1   if StringTools[IsPrefix]("Command-line",convert(interface(version),string)) = true &lt;br&gt;or evalb(StringTools[Search]("windows",kernelopts('platform')) &amp;lt; 1) then
   2     Grid:-g_ssystem := ssystem
       else
   3     Grid:-g_ssystem := define_external(mrt_ssystem,MAPLE,LIB = "mrt.dll")
       end if;
   4   Grid:-g_ssystem(args)
end proc
&lt;/pre&gt;</description>
      <guid>138875</guid>
      <pubDate>Sat, 27 Oct 2012 09:23:54 Z</pubDate>
      <itunes:author>Alejandro Jakubi</itunes:author>
      <author>Alejandro Jakubi</author>
    </item>
  </channel>
</rss>