Error in installation of GNU Prolog

"B. S. Skoda" <[email protected]>
Newsgroups gmane.comp.gnu.prolog.bugs
Message-ID <[email protected]>
Installation/compilation with Cygwin gcc version 2.95.3-5


Message from Make log:
            gcc: cannot specify -o with -c or -S and multiple compilations
            compilation failed


The type of machine you are using (use uname -a under Unix).
            i386 PC, Win 2000, Cygwin (latest), make version 3.79.1-5, gcc
version 2.95.3-5

GNU Prolog version (use gprolog --version).
            1.2.8


The operands given to the `configure' and the output of the configuration if
the bug concerns the compilation/installation phase.
            no operand

The complete text of any files needed to reproduce the bug. Try to obtain a
minimal example showing the bug.
The precise commands we need to type to reproduce the bug.
            In the cygwin console window:
            change directory to GNU-Prolog "src"
                        ./configure
                        make

A description of what behavior you observe that you believe is incorrect.
If you wish to mention something in the GNU Prolog source, show the line of
code with a few lines of context.  Do not just give a line number.
            Message on the make log:
                        gcc: cannot specify -o with -c or -S and multiple
compilations
                        compilation failed
----------------------------------------------------------------------------
---
Here is the copy of the Cygwin console log:

john@MINT /cygdrive/c/Program Files/GNU-Prolog 1.2.8/gprolog-1.2.8/src
$ make
(cd EnginePl; make config)
make[1]: Entering directory `/cygdrive/c/Program Files/GNU-Prolog
1.2.8/gprolog-
1.2.8/src/EnginePl'
make[1]: Nothing to be done for `config'.
make[1]: Leaving directory `/cygdrive/c/Program Files/GNU-Prolog
1.2.8/gprolog-1
.2.8/src/EnginePl'
. ./SETVARS;for i in TopComp EnginePl Wam2Ma Ma2Asm Linedit BipsPl Pl2Wam
Fd2C E
ngineFD BipsFD;do (cd $i; make) || exit 1; done;\
(cd TopComp; make gprolog.exe)
make[1]: Entering directory `/cygdrive/c/Program Files/GNU-Prolog
1.2.8/gprolog-
1.2.8/src/TopComp'
make[1]: Nothing to be done for `first'.
make[1]: Leaving directory `/cygdrive/c/Program Files/GNU-Prolog
1.2.8/gprolog-1
.2.8/src/TopComp'
make[1]: Entering directory `/cygdrive/c/Program Files/GNU-Prolog
1.2.8/gprolog-
1.2.8/src/EnginePl'
gplc -c -C '-O3 ' obj_begin.c
gcc: cannot specify -o with -c or -S and multiple compilations
compilation failed
make[1]: *** [obj_begin.o] Error 1
make[1]: Leaving directory `/cygdrive/c/Program Files/GNU-Prolog
1.2.8/gprolog-1
.2.8/src/EnginePl'
make: *** [all] Error 1

john@MINT /cygdrive/c/Program Files/GNU-Prolog 1.2.8/gprolog-1.2.8/src
$
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.