Skip site navigation (1) Skip section navigation (2)

Linux templates

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: PostgreSQL Development <pgsql-hackers(at)postgresql(dot)org>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Linux templates
Date: 2000-07-01 21:24:20
Message-ID: Pine.LNX.4.21.0007012021400.13037-100000@localhost.localdomain (view raw or flat)
Thread:
Lists: pgsql-hackerspgsql-ports
We've got 7 linux templates all doing the same thing, and one more
(s390) coming up. How about putting them all into one?

Any news on why linux_alpha defines CPU=alpha, which
is used in backend/storage/ipc/Makefile:

ifeq ($(CPU),alpha)
ifeq ($(CC), gcc)
CFLAGS+= -fno-inline
endif
ifeq ($(CC), egcs)
CFLAGS+= -fno-inline
endif
endif

(Certainly a compiler bug -- what's the latest on that?)

and in backend/utils/adt/Makefile:

ifeq ($(CPU),alpha)
ifeq ($(CC), gcc)
CFLAGS+= -mieee
endif
ifeq ($(CC), egcs)
CFLAGS+= -mieee
endif
endif

(Reading the documentation on this, it seems that we should perhaps
compile the entire source with -mieee, rather than having certain parts
work more "correctly" than others.)

-- 
Peter Eisentraut                  Sernanders väg 10:115
peter_e(at)gmx(dot)net                   75262 Uppsala
http://yi.org/peter-e/            Sweden


Responses

pgsql-ports by date

Next:From: Uncle GeorgeDate: 2000-07-01 23:35:12
Subject: Re: [PORTS] Re: Linux templates
Previous:From: Peter EisentrautDate: 2000-07-01 21:24:04
Subject: Re: Building 7.1 under Linux for S/390

pgsql-hackers by date

Next:From: Uncle GeorgeDate: 2000-07-01 23:35:12
Subject: Re: [PORTS] Re: Linux templates
Previous:From: Peter EisentrautDate: 2000-07-01 21:23:53
Subject: Re: Modified pg_dump & new pg_restore need testing...

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group