Re: [COMMITTERS] 'pgsql/src/template linux-elf'
Thomas Lockhart <lockhart@alumni.caltech.edu>
From: "Thomas G. Lockhart" <lockhart@alumni.caltech.edu>
To: Andrew Martin <martin@biochemistry.ucl.ac.uk>
Cc: "Marc G. Fournier" <scrappy@hub.org>, Postgres Hackers List <hackers@postgresql.org>
Date: 1998-02-13T13:36:23Z
Lists: pgsql-hackers
> > Modified Files:
> > linux-elf
> > Log Message:
> >
> > Remove -m486 option, since it is platform specific...this should technically
> > be removed everywhere, but so far linux-elf is the only platform that is
> > being reported a problem with...
>
> Hmm. I don't think there was a problem reported, only a complaint that the
> -m486 was suboptimal for 586 and 686 machines. The proposed solution was not in
> keeping with the Postgres philosophy of not requiring root privilege for an
> install, since it involved modifying or adding /usr/lib compiler settings
> files. With the flag removed, standard compiler settings will generate 386
> code. Yuck...
Andrew, could you put a new entry into the Linux FAQ suggesting that
CFLAGS+= -m486
or (for the new compilers that most people are not yet running)
CFLAGS+= -mpentium
or
CFLAGS+= -mpentiumpro
be added to Makefile.custom? Otherwise people are going to get 386 code generation
for most installations...
- Tom