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