bug-prolog
[Top][All Lists]
Advanced

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

Re: Error in installation of GNU Prolog


From: Daniel Diaz
Subject: Re: Error in installation of GNU Prolog
Date: Fri, 26 Apr 2002 12:30:05 +0200 (MET DST)
User-agent: IMP/PHP IMAP webmail program 2.2.6

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: address@hidden)

Thank you


Quoting "B. S. Skoda" <address@hidden>:

> 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:
> 
> address@hidden /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
> 
> address@hidden /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: address@hidden




reply via email to

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