Configure fails for SCO Openserver 5.0.5/gcc 2.7.2.3 - Mailing list pgsql-bugs

From pgsql-bugs@postgresql.org
Subject Configure fails for SCO Openserver 5.0.5/gcc 2.7.2.3
Date
Msg-id 200106261511.f5QFB3L82392@hub.org
Whole thread Raw
Responses Re: Configure fails for SCO Openserver 5.0.5/gcc 2.7.2.3
List pgsql-bugs
Mike Kenyon (mike@davidaustinroses.co.uk) reports a bug with a severity of 2
The lower the number the more severe it is.

Short Description
Configure fails for SCO Openserver 5.0.5/gcc 2.7.2.3

Long Description
The configure program fails for SCO Openserver 5.0.5 running gcc 2.7.2.3 from SCO's "Skunkware 98" open license utility
CD.The output from configure has been pasted into the example code box below. 

The Skunkware version of gcc, for reasons best known to itself does not like the "-b elf" option, instead preferring
"-melf".I was not able to modify the configure script as I couldn't find where this "-b elf" thing was beamed in from
tofix it! 

Sample Code
sco:/usr/local/src/postgresql-7.1.2# ./configure
creating cache ./config.cache
checking host system type... i686-pc-sco3.2v5.0.5
checking which template to use... sco
checking whether to build with locale support... no
checking whether to build with recode support... no
checking whether to build with multibyte character support... no
checking whether to build with Unicode conversion support... no
checking for default port number... 5432
checking for default soft limit on number of connections... 32
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
using CFLAGS=
checking whether the C compiler (gcc -b elf  ) works... no
configure: error: installation or configuration problem: C compiler cannot creat
e executables.


No file was uploaded with this report

pgsql-bugs by date:

Previous
From: "Hiroshi Inoue"
Date:
Subject: RE: Truncation Problems
Next
From: Peter Eisentraut
Date:
Subject: Re: Configure fails for SCO Openserver 5.0.5/gcc 2.7.2.3