Re: [HACKERS] Some cleanups/enhancements

From: "Thomas G(dot) Lockhart" <lockhart(at)alumni(dot)caltech(dot)edu>
To: Brian E Gallew <geek+(at)cmu(dot)edu>
Cc: pgsql-hackers(at)postgresql(dot)org, Postgres Documentation List <docs(at)postgresql(dot)org>
Subject: Re: [HACKERS] Some cleanups/enhancements
Date: 1998-02-11 17:19:08
Message-ID: 34E1DD8C.38F978AD@alumni.caltech.edu
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

> > > - Add a template for linux-elf-586 with (optimized) code for a Pentium
> > > (gcc 2.8.0 not only supports -m486 but also -mpentium and -mpentiumpro).
> > > Why not use template names similar to the output of config.guess (maybe
> > > with some symbolic links)?
>
> IMHO, none of the gcc-specific optimization switches belong in any
> templates. If you're using gcc on a pentium, and your version
> supportes -mpentium, then it should be in the SPECS file in your gcc
> installation. Admittedly, this presumes a certain clue level on the
> part of the gcc installer/maintainer, but it reduces the clutter level
> with templates somewhat.

Great! Want to write it up for the docs? Need a cookbook and an explanation;
I'll add it in...

If it requires a new install of gcc, then the other option might be to include
it in Makefile.custom as

CFLAGS+= -mpentium

- Tom

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message The Hermit Hacker 1998-02-11 18:07:33 Re: [HACKERS] Expected regression output from Irix5
Previous Message Jeroen van Vianen 1998-02-11 17:10:20 Re: [HACKERS] Some cleanups/enhancements