[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: question and bug report for gprolog 1.2.14
From: |
Vic Bancroft |
Subject: |
Re: question and bug report for gprolog 1.2.14 |
Date: |
Tue, 10 Sep 2002 22:29:13 -0400 (EDT) |
I have an old mandrake distro loaded on frege, e.g.,
address@hidden src]$ uname -a
Linux frege 2.2.14-1mdklinus #1 Tue Jan 4 21:39:25 CET 2000 i686 unknown
What version(s) of libstdcpp do you have ?
Using the makefile from gprolog/contribs/gplmysql, it seems to work for me under
1.1.12 using the -C flag instead of -L, e.g.,
address@hidden gplmysql]$ make test
gplc --c-compiler g++ -C '-L/usr/lib -lstdcpp' test.pl pred1.cpp pred2.cpp
g++.colorgcc: -lstdcpp: linker input file unused since linking not done
g++.colorgcc: -lstdcpp: linker input file unused since linking not done
address@hidden gplmysql]$ ./test
GNU Prolog 1.2.12
By Daniel Diaz
Copyright (C) 1999-2002 Daniel Diaz
| ?- pred1(X).
yes
| ?- pred2(X).
no
| ?-
BTW, for a more interesting test I modified pred2.cpp to be,
#include "gprolog.h"
extern "C"
int pred2(PlTerm p) {
return false;
}
I will try 1.2.14 as soon as it finishes compiling . . .
more,
l8r,
-------------------------------------------------------------------
Victor Bancroft, Principal Engineer, Zvolve Systems [v]770.551.4505
1050 Crown Pointe Pkwy, Suite 300, Atlanta GA 30338 [f]770.551.4509
Fellow, Artificial Intelligence Center [v]706.542-0358
Athens, Georgia 30602, U.S.A http://ai.uga.edu/~bancroft