Mail Archives: djgpp/1998/01/30/21:36:44
>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 -