cl.exe

"DeepFinder" <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general
Message-ID <[email protected]>

Hi All and Cesar!

>> 
>> Plz, smb, explain me, how I can compile my  test.pl  to an executable.
>>  
>In a nutshell, to achieve this you need the gprolog plus a complete C 
>compiler matching the settings of the gprolog was configured and built.
>
>I posted (I think more than a year ago) in this list instructions on how 
>to to either using the Microsoft compilers or using the Mingw port of gcc.

Thankee

I'd readed.

GNU Prolog Win32 port
--------------------------------------------------------------------------------
From:  Cesar Rabak 
Subject:  GNU Prolog Win32 port 
Date:  Mon, 05 Jan 2004 17:23:42 -0200 
User-agent:  Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.0.2) Gecko/20030208 Netscape/7.02 


It helps, but not to end.

I get from friends the "Microsoft Visual Studio .NET" distro on 4 CD's.

after decompressing installer from 1'st CD i found in:

tmp\Program Files\Microsoft Visual Studio .NET\Vc7\bin\" 

file cl.exe. Good... Copy... Checking...

C:\GNU-Prolog\bin>gplc.exe test.pl
test.pl:154--167 warning: singleton variables [Y] for go/0
test.pl:170--173 warning: singleton variables [X] for pl_program/3
cl : Command line error D2027 : cannot execute 'link.exe'
compilation failed

Dread!

In the same folder found file link.exe. Good... Copy... Checking... 

C:\GNU-Prolog\bin>gplc.exe test.pl
test.pl:154--167 warning: singleton variables [Y] for go/0
test.pl:170--173 warning: singleton variables [X] for pl_program/3
LINK : fatal error LNK1181: cannot open input file 'C:\WINDOWS\TEMP\gplc5.obj'
compilation failed

Double Dread!

 Searching trough whole drive... I can't find file gplc5.* or gplc*.*
 (except gplc.exe) anywhere...

What's up? What I do wrong?

 I'm never working vith MS VS C++ before. Maybe, I found wrong files:
 cl.exe, link.exe, and I must search on other CD's from distro?
 It will be ridinghag (nihtmare), when I must fully install .NET on my
 computer.
 
--
Best regards
  DeepFinder
    2005 A.D.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.