[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bug in compiling, with win32

From: Daniel Diaz
Subject: Re: bug in compiling, with win32
Date: Fri, 12 Mar 2004 09:50:16 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.6) Gecko/20040113


the win32 auto-install version you got has been compiled with MSVC++ 6.0. You can run the interactive top-level (gprolog.exe) and consult Prolog files (interpreted mode). To run the command-line compiler (gplc.exe) you need nasm, a free x86 assembler (http://nasm.sourceforge.net/). However, you also need MSVC++ for the link phase (which is not free ;-)).

If you have not MSVC++ you can get the source distribution and compile it under cygwin, a unix layer on Win32, (http://www.cygwin.com)

I'm working on a win32 version that can run under MinGW, a pure Win32 port of gcc (http://www.mingw.org). It will be released soon (in next days).

Good luck

NemboKid will never die (PriviJunior) wrote:
Hello gentle Gnu staff.
I'm a student of computer science at university of Milan.

We have to learn Prolog, so I've installed your Gnu Prolog, version 1.2.16 (with the auto installing setup file), and my computer is a Pentium II with Windows 98. I've read nearly all the whole documentation of your wonderful program, but what a frustration I had when I wanted simply compile a prolog file!
The trace of the prompt Dos is auto-explainant:

D:\Documenti>gplc -v hook.pl

Prolog compiler (GNU Prolog) 1.2.16
By Daniel Diaz
Copyright (C) 1999-2002 Daniel Diaz
You may redistribute copies of GNU Prolog
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.


*** Compiling

--- file: hook.pl
pl2wam -o C:\WINDOWS\TEMP\gplc2.wam hook.pl
wam2ma -o C:\WINDOWS\TEMP\gplc3.ma C:\WINDOWS\TEMP\gplc2.wam
delete C:\WINDOWS\TEMP\gplc2.wam
ma2asm -o C:\WINDOWS\TEMP\gplc4.asm C:\WINDOWS\TEMP\gplc3.ma
delete C:\WINDOWS\TEMP\gplc3.ma
nasm -f win32 -o C:\WINDOWS\TEMP\gplc5.obj C:\WINDOWS\TEMP\gplc4.asm
error trying to execute nasm: No such file or directory
compilation failed
deleting temporary files before exit
delete C:\WINDOWS\TEMP\gplc4.asm
delete C:\WINDOWS\TEMP\gplc5.obj


Practically lacks an exe-file, that should be "nasm.exe" under the "prolog\bin" directory,
that should compile an Assembly file into an Object file.

I hope there's an easy way to solve this problem.
I thank you a lot for a possible reply!

Daniele Privitera

reply via email to

[Prev in Thread] Current Thread [Next in Thread]