🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.chess
Article #2647

Re: can not compile 5.0

#2647
From: Gareth McCaughan
Date: Sun, 02 Jan 2000 00:00
50 lines
2115 bytes
"PMG" wrote:

> Paul Black wrote:
> 
>> I am trying to instal gnuchess 5.0 on an SGI irix 6.4 machine.
>> I am compiling with   gcc 2.95.2. using gmake.
>> Below is a partial list of error message I got when I typed gmake.
>> 
>> cc ERROR parsing -Winline:  bad syntax for option
>> cc WARNING:  phase key (n)  is no longer supported
>> ...
>> cc ERROR parsing -Winline:  bad syntax for option
>> cc WARNING:  phase key (e)  is no longer supported
>> 
>> ...
>> cc ERROR parsing -Winline:  unknown flag
>> cc ERROR parsing -Wmissing-prototypes:  bad syntax for option
>> 
>> ...
>> ERROR parsing -funroll-loops:  unknown flag
>> ERROR parsing -fomit-frame-pointer: unknown flag
>> gmake: *** [atak.o]  Error 2
>> 
>> I am a little new at installing gnu software.
>> 
>> Thanks,
>> 
>> Paul Black
> 
>  Only guessing here because I don't use a Unix type OS myself, but make
> sure that you have the most up to date gcc, and that you're using the
> right makefile, and you may have to comment and un comment different
> flags, that's what my uneducated look at those errors looks like to
> me.,    They're not pointing their finger at lines of code, so you have
> to be thinking about the compiler and the makefile.

Looks to me as if entirely the wrong C compiler is getting invoked.
If the Makefile contains a line like

    CC = cc

then changing that to

    CC = gcc

will probably fix things.

-- 
Gareth McCaughan  Gareth.McCaughan@pobox.com
sig under construction
Technical Details
Message-ID: <86k8ltugfi.fsf@g.local>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <386ED794.6EABC155@slip.net> <386EDAB9.766F87C7@Chicagonet.net>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d71d,fce3f768bb50487c
X-Google-Attributes: gid10d71d,public
From: Gareth McCaughan <Gareth.McCaughan@pobox.com>
Subject: Re: can not compile 5.0
Date: 2000/01/02
Message-ID: <86k8ltugfi.fsf@g.local>
X-Deja-AN: 567327403
References: <386ED794.6EABC155@slip.net> <386EDAB9.766F87C7@Chicagonet.net>
X-Complaints-To: abuse@ukonline.net
X-Trace: apple.news.easynet.net 946795600 1184 195.40.198.4 (2 Jan 2000 06:46:40 GMT)
Organization: [ posted via UKOnline ]
NNTP-Posting-Date: 2 Jan 2000 06:46:40 GMT
Newsgroups: gnu.chess