Dear developers of GNU Prolog,

First of all, thanks for your very good job on GNU Prolog.

Unfortunately, I've had the following problem. I was trying to compile
Prolog code for Windows and gplc (called from an MS-DOS window within
Windows) could not produce an executable.

My machine is a laptop with a Pentium M725 processor and with Windows
XP. The GNU Prolog version is 1.2.16.

For example, I've tried to compile the file "test.pl", which consists
of a single line:

red(cherry).

In the MS-DOS window, when I type

 gplc test.pl

I get the following output
 
 error trying to execute nasm: No such file or directory
 compilation failed

I thought that the reason was that I didn't have any assembler
installed, and so I downloaded "nasmw.exe" from the webpage of nasm
(Win32 binary, version 0.98.39). When I apply this assembler to the
.asm file generated by gplc -S, i.e., I type

 gplc -S test.pl
 nasmw test.asm

, I get the following output:

 test.asm:15: error: binary output format does not support external references
 test.asm:26: error: binary output format does not support external references
 test.asm:28: error: binary output format does not support external references
 test.asm:31: error: binary output format does not support external references
 test.asm:34: error: binary output format does not support external references
 test.asm:44: error: binary output format does not support external references
 test.asm:62: error: binary output format does not support external references


Thanks for your attention and sorry if there has been any
misunderstanding from my side.
 

Yours sincerely,

Enric Rodriguez Carbonell

-- 
______________________________________________________________________
Enric Rodriguez Carbonell                      www.lsi.upc.edu/~erodri
Technical University of Catalonia (UPC)        [EMAIL PROTECTED]    
Department of Software (LSI)                   Phone:  +34-93-4137861
Jordi Girona 1, 08034 Barcelona, Spain         Fax:    +34-93-4137833        
______________________________________________________________________


_______________________________________________
Bug-prolog mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-prolog

Reply via email to