Re: Error in installation of GNU Prolog

Daniel Diaz <[email protected]>
Newsgroups gmane.comp.gnu.prolog.bugs
Message-ID <[email protected]>
Hi,,

<remark>
Normally non-member cannot post on this list to avoid SPAM. So will not see any
answer, except if people add you explicitely. If you want to subscribe, see
http://gprolog.inria.fr
</remark>


Thank you first for your detailed bug report.
The strange line is:

> gplc -c -C '-O3 ' obj_begin.c
> gcc: cannot specify -o with -c or -S and multiple compilations

So please could you test:

cd .../src
make
(gives the error above mentioned)
cd EnginePl
gplc -v -c -C '-O3 ' obj_begin.c
(I added a -v to see how gplc calls gcc)
and can you send us the output (or at least to me: [email protected])

Thank you


Quoting "B. S. Skoda" <[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
> $
> 



===============================================
                 Daniel Diaz
University of Paris 1      INRIA Rocquencourt
75013 Paris FRANCE      78153 Le Chesnay FRANCE
        web: http://pauillac.inria.fr/~diaz
        email: [email protected]
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.