Bug 36

Summary: SWIPL-LD in Windows
Product: SWI-Prolog Reporter: amit
Component: coreAssignee: Jan Wielemaker <bugs>
Status: CONFIRMED ---    
Severity: trivial CC: amit
Priority: Low    
Version: unspecified   
Hardware: PC   
OS: Windows   
URL: http://www.swi-prolog.org/pldoc/doc_for?object=section(3,'9.5.1',swi('/doc/Manual/plld.html'))

Description amit 2012-04-19 01:09:15 CEST
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,'9.5.1',swi('/doc/Manual/plld.html'))
The link fails with the following message:
"Could not open pltmp-xxxx: No such file or directory" (xxxx is a number)
The process generated the file pltmp-xxxx.exe in the directory execution
directory.
Comment 1 Jan Wielemaker 2012-04-19 16:39:45 CEST
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 <options> to see what it does and
intelligently change the commands.

   Cheers --- Jan