Hi!
I'm working on a project on Linux for PowerPC. I have a prolog file
linked with a (really big) project in C. It works perfectly on my PowerPC
machine.
When I move it to an Intel machine, it fails on the first C call to
prolog. I do it like on the example on page 204 of the manual. First, I
call Start_Prolog, then Find_Atom (and it returns a positive int, not -1,
so it whould be working fine). Then, Pl_Query_Call. Here's the problem: it
returns an exception.
First, how can I print that exception, to know what's happening? I
tried to read the PlTerm as String, but it fails and crashes.
Second, why is this happening? When I test the example on that page on
the Intel machine, it works. It does not work on my project, but the C
code is mostly the same on the two machines...
Yours
Miguel Arroz
"Eles nao sabem nem sonham..."
Miguel Barreto da Silva Arroz - IST, LEIC - address@hidden
** Guia Macintosh em Portugal - http://www.guiamac.com **
Homepage: http://www.geocities.com/SiliconValley/3232
_______________________________________________
Users-prolog mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/users-prolog
--
Ce message a subi une analyse antivirus
par MailScanner ; il est vraisemblablement
sans danger.