GNU Prolog compiler problem: the order of input files

Dinghao Wu <[email protected]>
Newsgroups gmane.comp.gnu.prolog.general,gmane.comp.gnu.prolog.bugs
Message-ID <[email protected]>
Dear All,

I've encountered the following problem with Gnu Prolog today:

Compile with Gnu Prolog compiler gplc as follow:
    gplc -o foo a.pl b.pl c.pl d.pl e.pl f.pl g.pl

the compiler does not compile the input files in the order that I give. It
will pick say e.pl and compile it first, then it fails because c.pl has a
use of an op which is declared in a.pl. seems very strange! Any thoughts
about this?

Sincerely,
Dinghao
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.