www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/04/09:22:23

Reply-To: <arfa AT clara DOT net>
From: "Arthur" <arfa AT clara DOT net>
To: "DJGPP Mailing List" <djgpp AT delorie DOT com>
Subject: RE: Optimised Allegro
Date: Tue, 4 Aug 1998 14:22:25 +0100
Message-ID: <000601bdbfaa$eb643380$ec4b08c3@arthur>
MIME-Version: 1.0
Importance: Normal
In-Reply-To: <19980803.224756.6494.0.matthew.krause@juno.com>

> 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019