users-prolog
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

for compiling with gcc


From: losky
Subject: for compiling with gcc
Date: Wed, 10 Jul 2002 10:47:23 -0300

Hello, i have trouble trying to use gplc with my project, so i write this 
script.
now i'm comiling

        *.pl with gplc to *.o
        *.c or *.cc with gcc and `gprolog.conf --cflags` to *.o

        and *.o with gcc and `gprolog.conf --libs` to an executable.

NOTE for proper linking it needs to be used like

gcc myfile1.o myfile2.o myfile3.o `gprolog.conf --libs` -o myprogram

with the script at the end.

Losky

Attachment: gprolog.conf
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]