For Programmers: Free Programming Magazines  


Home > Archive > Prolog > May 2006 > GNU Prolog and Windows









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author GNU Prolog and Windows
Andreas Kochenburger

2006-05-07, 7:12 pm

Is Gnu Prolog still supported?

The GPLC compiler port to Win32 seems to be buggy. I can build
gplc.exe under MSYS but it still don't work because it outputs an
assembler format incompatible with either the as or the nasm
assembler.

I browsed the mailing list archive and found several others facing the
same problem, but also they seemed to get no answers.


Andreas
-------

Real humanism is really brutal.
Cesar Rabak

2006-05-07, 7:12 pm

Andreas Kochenburger escreveu:
> Is Gnu Prolog still supported?
>
> The GPLC compiler port to Win32 seems to be buggy. I can build
> gplc.exe under MSYS but it still don't work because it outputs an
> assembler format incompatible with either the as or the nasm
> assembler.


How did you configured the build process?

>
> I browsed the mailing list archive and found several others facing the
> same problem, but also they seemed to get no answers.
>


I posted (eons ago) a short comment on the difficulties and workarounds
for using GPLC in Win32 systems.

If you really want to use GNU tools solely you have to force configure
to reckognize your environment as 'unix' or you need to apply the ideas
I posted to use the cl (microsoft compiler) as linker and use NASM as
assembler.

HTH

Last, but not the least: why any of the existing already built gprologs
for Win32 doesn't fit your needs?


--
Cesar Rabak
Andreas Kochenburger

2006-05-07, 7:12 pm

On Fri, 05 May 2006 11:00:50 -0300, Cesar Rabak <csrabak@yahoo.com.br>
wrote:
>
>How did you configured the build process?


I used 1.2.19 and did ./configure make make install in MSYS

>I posted to use the cl (microsoft compiler) as linker and use NASM as
>assembler.
>
>Last, but not the least: why any of the existing already built gprologs
>for Win32 doesn't fit your needs?


I don't have MSVC nor do I like to buy it.

The gplc in the stable version 1.2.16 requires cl to run and also the
link process asks for a gplc5.obj in my private profile temp directory
where there is none.

Andreas
-------

Real humanism is really brutal.
Cesar Rabak

2006-05-07, 7:12 pm

Andreas Kochenburger escreveu:
> On Fri, 05 May 2006 11:00:50 -0300, Cesar Rabak <csrabak@yahoo.com.br>
> wrote:
>
>
>
> I used 1.2.19 and did ./configure make make install in MSYS
>


Can you see in the config.cache if configure guessed your environment as
'unix' or 'win32'?

>
>
>
> I don't have MSVC nor do I like to buy it.
>
> The gplc in the stable version 1.2.16 requires cl to run and also the
> link process asks for a gplc5.obj in my private profile temp directory
> where there is none.


Well these days you may try Express Edition or the earier 'Toolkit' free
versions.

OTOH, I've been sucessful in building a mingw32 version of 1.2.18
gprolog¹, if this would suffice you contact me privately.


--
Cesar Rabak

[1] at this time with five 'users' ;-)
Duncan Patton

2006-05-07, 7:12 pm

On Fri, 05 May 2006 16:38:10 +0200
Andreas Kochenburger <akk@nospam.com> wrote:

> On Fri, 05 May 2006 11:00:50 -0300, Cesar Rabak <csrabak@yahoo.com.br>
> wrote:
>


I got 1.2.19 running in the mingw environment. I managed to compile
some bits of my code ... enough to convince that I could build stuff
but needed to revisit msdos stdio and some other piddly stuff.

Dhu


> I used 1.2.19 and did ./configure make make install in MSYS
>
>
> I don't have MSVC nor do I like to buy it.
>
> The gplc in the stable version 1.2.16 requires cl to run and also the
> link process asks for a gplc5.obj in my private profile temp directory
> where there is none.
>
> Andreas
> -------
>
> Real humanism is really brutal.



--
???????????????????????????????????????

Open Systems Integration

Contact Fubar the Hack: fubar AT neotext.ca

Area code seven eight zero, Exchange four six six, Local zero one zero nine

Highland terms, Canadian workmanship.

All persons named herein are purely fictional victims
of the Canidian Bagle Breeder's Association.

Save the Bagle!

Sun Dhu


???????????????????????????????????????

Cesar Rabak

2006-05-07, 7:12 pm

Duncan Patton escreveu:
> On Fri, 05 May 2006 16:38:10 +0200
> Andreas Kochenburger <akk@nospam.com> wrote:
>
>
>
> I got 1.2.19 running in the mingw environment. I managed to compile
> some bits of my code ... enough to convince that I could build stuff
> but needed to revisit msdos stdio and some other piddly stuff.
>

Nice to know it works Dhu!

Technically speaking it is not 'msdos' but Win32 console.

OTOH, IIRC it is possible to build as well the graphical toplevel in
mingw32 as well (if IUIC from your remmarks).

--
Cesar Rabak
Duncan Patton

2006-05-07, 7:12 pm

On Sat, 06 May 2006 10:09:07 -0300
Cesar Rabak <csrabak@yahoo.com.br> wrote:

> Duncan Patton escreveu:
> Nice to know it works Dhu!
>
> Technically speaking it is not 'msdos' but Win32 console.
>


Yes. That's what got me ;)


> OTOH, IIRC it is possible to build as well the graphical toplevel in
> mingw32 as well (if IUIC from your remmarks).


Yes. mingw32. I got the graphics console to build with my dlib (smallcruft).

Dhu

>
> --
> Cesar Rabak



--
???????????????????????????????????????

Open Systems Integration

Contact Fubar the Hack: fubar AT neotext.ca

Area code seven eight zero, Exchange four six six, Local zero one zero nine

Highland terms, Canadian workmanship.

All persons named herein are purely fictional victims
of the Canidian Bagle Breeder's Association.

Save the Bagle!

Sun Dhu


???????????????????????????????????????

Andreas Kochenburger

2006-05-08, 8:02 am

On Fri, 05 May 2006 20:39:34 -0300, Cesar Rabak <csrabak@yahoo.com.br>
>Well these days you may try Express Edition or the earier 'Toolkit'

free
>versions.
>
>OTOH, I've been sucessful in building a mingw32 version of 1.2.18
>gprolog¹, if this would suffice you contact me privately.


Thanks! My personal problem is solved because I could get an old VC++
6 version from a friend. GPLC works now.


Andreas
-------

Real humanism is really brutal.
Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com