Bugzilla – Bug 36
SWIPL-LD in Windows
Last modified: 2012-04-19 16:39:45 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.
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