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
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-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

Browse pgsql-hackers by date

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

Browse pgsql-ports by date

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