delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/01/30/21:36:44

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Error trying to "make" Allegro
Date: Fri, 30 Jan 1998 19:09:25 +0000
Organization: None
Distribution: world
Message-ID: <EnQytHAlVi00EwK2@talula.demon.co.uk>
References: <34D193E3 DOT 7FE0 AT home DOT com> <6at20p$5c4$12 AT news DOT ox DOT ac DOT uk>
NNTP-Posting-Host: talula.demon.co.uk
MIME-Version: 1.0
Lines: 26
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

>Dan <dyoon AT home DOT com> writes:
> When I type in "make" in my Allegro directory, I get the following
> output...
>
> gcc -I. -Isrc -Isrc/djgpp -Iobj/djgpp -Wall -W -Werror -Wno-unused
> -mpentium -O6
>  -ffast-math -fomit-frame-pointer -o obj/djgpp/allegro.o -c
> src/allegro.c
> cc1.exe: Invalid option `pentium'
> make.exe: *** [obj/djgpp/allegro.o] Error 1

For some reason Allegro is trying to build with the Pentium optimisation
options, which aren't supported by the stock djgpp version of gcc. The
only reasons I can think for this are that you might have altered the
makefile to define the PGCC setting (if so you should take it out again:
this is the statement at line 11 which is commented out by default), or
maybe that you have set the PGCC variable in your environment, in which
case you should get rid of it by running "set PGCC=".

If that doesn't help, post a copy of your environment ("set > env.txt")
and the first 20 lines from the Allegro makefile.


--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Pigs use it for a tambourine" - Frank Zappa

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019