<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://www.swi-prolog.org/bugzilla/bugzilla.dtd">

<bugzilla version="4.0"
          urlbase="http://www.swi-prolog.org/bugzilla/"
          
          maintainer="bugs@swi-prolog.org"
>

    <bug>
          <bug_id>36</bug_id>
          
          <creation_ts>2012-04-19 01:09:00 +0200</creation_ts>
          <short_desc>SWIPL-LD in Windows</short_desc>
          <delta_ts>2012-04-19 16:39:45 +0200</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>SWI-Prolog</product>
          <component>core</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows</op_sys>
          <bug_status>CONFIRMED</bug_status>
          
          
          
          <bug_file_loc>http://www.swi-prolog.org/pldoc/doc_for?object=section(3,&apos;9.5.1&apos;,swi(&apos;/doc/Manual/plld.html&apos;))</bug_file_loc>
          
          
          <priority>Low</priority>
          <bug_severity>trivial</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>amit</reporter>
          <assigned_to name="Jan Wielemaker">bugs</assigned_to>
          <cc>amit</cc>

      

      

      

          <long_desc isprivate="0">
            <commentid>106</commentid>
            <who name="">amit</who>
            <bug_when>2012-04-19 01:09:15 +0200</bug_when>
            <thetext>When trying to link a combination of C files and Prolog files into a stand-alone executable in Windows with Prolog 5.10.x and 6.0.x as shown in this example:
http://www.swi-prolog.org/pldoc/doc_for?object=section(3,&apos;9.5.1&apos;,swi(&apos;/doc/Manual/plld.html&apos;))
The link fails with the following message:
&quot;Could not open pltmp-xxxx: No such file or directory&quot; (xxxx is a number)
The process generated the file pltmp-xxxx.exe in the directory execution directory.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <commentid>107</commentid>
            <who name="Jan Wielemaker">bugs</who>
            <bug_when>2012-04-19 16:39:45 +0200</bug_when>
            <thetext>I think I fixed it in the latest pl-devel.git version.  Will be in 6.1.4.  In
the mean while, you can run swipl-ld.exe -v &lt;options&gt; to see what it does and
intelligently change the commands.

   Cheers --- Jan</thetext>
          </long_desc>
      
      

    </bug>

</bugzilla>