Mail Archives: djgpp/1998/06/08/18:33:13
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 -