www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/06/08/18:33:13

From: Shawn Hargreaves <Shawn AT talula DOT demon DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Help I'm getting errors using Make
Date: Mon, 8 Jun 1998 20:37:38 +0100
Organization: None
Message-ID: <AU9KFEAC2Df1Ewkh@talula.demon.co.uk>
References: <357B70FA DOT 5C3C AT aol DOT com>
NNTP-Posting-Host: talula.demon.co.uk
MIME-Version: 1.0
Lines: 24
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

dhw1 writes:
>When I try to compile Allegro using make I get this error:
>
>C:\DJGPP\ALLEGRO\ALLEGRO\MAKE.EXE
>Compiling Allegro. Please wait...
>gcc -I. -Isrc/djgpp -Iobj/djgpp -Wall -W -Werror -Wno-unused -mpentium
>-06 -ffast-math -fomit-frame-pointer -o obj/djgpp/allegro.o -c
>src/allegro.c
>cc1.exe: Invalid option 'petium'
                          ^^^^^^
I presume that this is a typo, and you meant to say "pentium"? 
Such details can be important!

Anyway, the problem is that your version of gcc doesn't understand the 
-mpentium optimisation switch. The Allegro makefile will only use that
option if you have set the PGCC environment variable, and you should
only do this if you are using the PGCC compiler. Since it seems that you
don't have this, get rid of this environment variable to go back to
stock 486 optimisation...


--
Shawn Hargreaves - shawn AT talula DOT demon DOT co DOT uk - http://www.talula.demon.co.uk/
"Miracles are nothing if you've got the wrong intentions" - Mike Keneally

- Raw text -


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