Reply-To: From: "Arthur" To: "DJGPP Mailing List" Subject: RE: Optimised Allegro Date: Tue, 4 Aug 1998 14:22:25 +0100 Message-ID: <000601bdbfaa$eb643380$ec4b08c3@arthur> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Importance: Normal In-Reply-To: <19980803.224756.6494.0.matthew.krause@juno.com> Precedence: bulk > I was just rebuilding Allegro a second ago, and I noticed that the > makefile said: > > # build a normal optimised version > ifdef PGCC > OFLAGS = -mpentium -O6 -ffast-math -fomit-frame-pointer > else > OFLAGS = -m486 -O3 -ffast-math -fomit-frame-pointer > endif > > > However, I'm running on A P166. Short of getting PGCC, is there a way to > optmise Allegro? I remember reading on this newsgroup something about a > switch like -march586. I'm using GCC version 2.8.1. Anyone feel like > reminding me? Thanks. I think you can use -march=pentium -cpu=pentium and -mpentium Dunno about anyone else, but I don't seem to have had any improvements with PGCC? Most of my programs run slower with -O6 than with -O3. Can anyone explain this? James Arthur jaa AT arfa DOT clara DOT net ICQ#15054819