bug-prolog
[Top][All Lists]
Advanced

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

Bug in GNU Prolog 1.3.0: `gplc' ignores the `--c-compiler' option


From: Roberto Bagnara
Subject: Bug in GNU Prolog 1.3.0: `gplc' ignores the `--c-compiler' option
Date: Sat, 13 Oct 2007 19:16:50 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.12) Gecko/20050929 Thunderbird/1.0.7 Fedora/1.0.7-1.1.fc4 Mnenhy/0.7.3.0


Please do not be scared by the long `gplc' command line
after the signature.
Just notice that

1) we pass the option `--c-compiler /usr/local/bin/c++' to `gplc';
2) despite that, in the linking phase, `gplc' uses `gcc' to
   perform the job.

If anyone has a patch for this, we would appreciate very
much hearing about it.
All the best,

    Roberto

--
Prof. Roberto Bagnara
Computer Science Group
Department of Mathematics, University of Parma, Italy
http://www.cs.unipr.it/~bagnara/
mailto:address@hidden

$ gplc -v --c-compiler /usr/local/bin/c++ -o ppl_gprolog     ppl_gprolog.pl     
.libs/libppl_gprolog.a     -L '-L../../../src/.libs -lppl 
-L../../../Watchdog/.libs -lpwl -lgmpxx -lgmp'Prolog compiler (GNU Prolog) 1.3.0
By Daniel Diaz
Copyright (C) 1999-2007 Daniel Diaz
GNU Prolog comes with ABSOLUTELY NO WARRANTY.
You may redistribute copies of GNU Prolog
under the terms of the GNU General Public License.
For more information about these matters, see the files named COPYING.

Path used: /usr/lib64/gprolog-1.3.0

*** Compiling

--- file: ppl_gprolog.pl
pl2wam -o /tmp/gplcSoQQsb.wam ppl_gprolog.pl
wam2ma -o /tmp/gplcBDwxLc.ma /tmp/gplcSoQQsb.wam
delete /tmp/gplcSoQQsb.wam
ma2asm -o /tmp/gplckSce4d.s /tmp/gplcBDwxLc.ma
delete /tmp/gplcBDwxLc.ma
as -o /tmp/gplc36SUmf.o /tmp/gplckSce4d.s
delete /tmp/gplckSce4d.s

*** Linking

gcc  -o ppl_gprolog /tmp/gplc36SUmf.o .libs/libppl_gprolog.a 
-L../../../src/.libs -lppl -L../../../Watchdog/.libs -lpwl -lgmpxx -lgmp 
/usr/lib64/gprolog-1.3.0/lib/all_pl_bips.o 
/usr/lib64/gprolog-1.3.0/lib/all_fd_bips.o 
/usr/lib64/gprolog-1.3.0/lib/top_level.o 
/usr/lib64/gprolog-1.3.0/lib/debugger.o 
/usr/lib64/gprolog-1.3.0/lib/libbips_fd.a 
/usr/lib64/gprolog-1.3.0/lib/libengine_fd.a 
/usr/lib64/gprolog-1.3.0/lib/libbips_pl.a 
/usr/lib64/gprolog-1.3.0/lib/libengine_pl.a 
/usr/lib64/gprolog-1.3.0/lib/liblinedit.a -lm
delete /tmp/gplc36SUmf.o
$





reply via email to

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