[Fwd: RE: config.sub and config.guess for PostgreSQL compilation on Linux S/390]

Started by Lamar Owenover 25 years ago2 messages
#1Lamar Owen
lamar.owen@wgcr.org

[Forwarding this here, as I don't know how to answer the second
question.]
[LRO]

-------- Original Message --------
Subject: RE: config.sub and config.guess for PostgreSQL compilation on
Linux S/390
Date: Mon, 26 Jun 2000 14:15:45 -0400
From: "Ferguson, Neale" <NEALE.FERGUSON@ca.com>
To: Lamar Owen <lamar.owen@wgcr.org>

Hi again,
I'm in the process of forward fitting the patches to 7.0.2. They are
trivial so I don't anticipate problems there. One file missing from the
patches I referred you to was the linux_s390 template which I've
reconstructed to look like:
AROPT:crs
CFLAGS:-O0
SHARED_LIB:-fpic
ALL:
SRCH_INC:
SRCH_LIB:
USE_LOCALE:no
DLSUFFIX:.so
YFLAGS:-d
YACC:bison -y

I've chosen -O0 as the level of compiler I'm using has a couple of bugs.
The
latest one doesn't but I've yet to upgrade to it. I use ./configure
--with-template=linux_s390 --with-odbc --with-perl
One question, how do I get it to automatically pick up linux_s390? As a
clue
here's what I get with uname:
uname -m
s390
uname -r
2.2.14
uname -s
Linux
uname -v
#1 SMP Sun Feb 20 06:20:12 EST 2000

Show quoted text

-----Original Message-----
And thanks for your reply. I have forwarded the information to the
PostgreSQL developers list. I would like to see if the new PostgreSQL
7.0.2 version can be brought up on S390, as the patches are for 6.5.3.

--
Lamar Owen
WGCR Internet Radio
1 Peter 4:11

#2Peter Eisentraut
peter_e@gmx.net
In reply to: Lamar Owen (#1)
Re: [Fwd: RE: config.sub and config.guess for PostgreSQL compilation on Linux S/390]

Lamar Owen writes:

I'm in the process of forward fitting the patches to 7.0.2. They are
trivial so I don't anticipate problems there.

How is this S/390 setup supported by GNU libtool? I'm sure it is since
many other packages use libtool, but I'm wondering whether special patches
would be required. We're planning on moving to that sometime.

One file missing from the patches I referred you to was the linux_s390
template which I've reconstructed to look like:

AROPT:crs
CFLAGS:-O0
SHARED_LIB:-fpic
ALL:
SRCH_INC:
SRCH_LIB:
- USE_LOCALE:no
DLSUFFIX:.so
- YFLAGS:-d
- YACC:bison -y

I've chosen -O0 as the level of compiler I'm using has a couple of bugs.

Note that PostgreSQL also had a couple of bugs that violated standard C,
which are now mostly fixed. Perhaps that affects you. In any case you
perhaps want to look at the 7.1 development branch.

The latest one doesn't but I've yet to upgrade to it. I use
./configure --with-template=linux_s390 --with-odbc --with-perl One
question, how do I get it to automatically pick up linux_s390?

The path of least resistance is to name the template file after the
config.guess output. (I assume that you'll provide those guys with patches
as well.) Otherwise there's a file src/templates/.similar that matches
canonical host names to template files. (Yeah, we really shouldn't have
hidden files like that.)

--
Peter Eisentraut Sernanders v�g 10:115
peter_e@gmx.net 75262 Uppsala
http://yi.org/peter-e/ Sweden