[OSM-dev] [novice] osm2pgsql: mac os x: faster with compiler optimized flag -fast instead of -O2

Jon Burgess jburgess777 at googlemail.com
Sun Feb 8 12:06:55 GMT 2009

On Sun, 2009-02-08 at 12:40 +0100, Martijn van Oosterhout wrote:
> On Sat, Feb 7, 2009 at 11:09 PM, Ceriel Jacobs <cerieljacobs at gmail.com> wrote:
> > In building and benchmarking open source projects on Mac OS X 10.5
> > intel (for example Mysql),
> > highest performance was returned with flag -fast instead of -O2.
> What does -fast do? I can't find it in the gcc manpage.

It is an option added by Apple. It looks like it is not much more than a
custom set of "-f..." flags which they've developed to generate better
code on the PowerPC CPUs.



More information about the dev mailing list