From: Shawn Hargreaves 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: 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 Precedence: bulk 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