On Mon, 31 Oct 2005 10:05:14 -0700 (MST) [EMAIL PROTECTED] wrote: > Send Users-prolog mailing list submissions to > [email protected] > > To subscribe or unsubscribe via the World Wide Web, visit > http://lists.gnu.org/mailman/listinfo/users-prolog > or, via email, send a message with subject or body 'help' to > [EMAIL PROTECTED] > > You can reach the person managing the list at > [EMAIL PROTECTED] > > When replying, please edit your Subject line so it is more specific > than "Re: Contents of Users-prolog digest..." > > > Today's Topics: > > 1. cl.exe (DeepFinder) > > > ---------------------------------------------------------------------- > > Message: 1 > Date: Mon, 31 Oct 2005 15:35:02 +0300 (MSK) > From: "DeepFinder" <[EMAIL PROTECTED]> > Subject: cl.exe > To: [email protected] > Message-ID: <[EMAIL PROTECTED]> > Content-Type: text/plain; charset="US-ASCII" > > > > 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? >
You should use the MinGW native WinDos mode. MS compilers tend to only want to work with MS tools. Dhu > 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. > > > > > ------------------------------ > > _______________________________________________ > Users-prolog mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/users-prolog > > > End of Users-prolog Digest, Vol 33, Issue 3 > ******************************************* > _______________________________________________ Users-prolog mailing list [email protected] http://lists.gnu.org/mailman/listinfo/users-prolog
