configure fails on PPC/Linux - Mailing list pgsql-hackers

From t-ishii@sra.co.jp
Subject configure fails on PPC/Linux
Date
Msg-id 199802120736.QAA02123@srapc451.sra.co.jp
Whole thread Raw
List pgsql-hackers
Hello,

configure on PPC/Linux fails because of an incorrect template
file(configure tries to envoke gcc with -m486 option!). Following
patches should fix the problem.

P.S.    I have tested on the 2/11 snapshot.
--
Tatsuo Ishii
t-ishii@sra.co.jp
--------------------------------------------------------------
diff -c -N template.orig/.similar template/.similar
*** template.orig/.similar    Tue Feb  3 17:00:32 1998
--- template/.similar    Thu Feb 12 15:14:13 1998
***************
*** 17,22 ****
  powerpc-ibm-aix3.2.5=aix_325
  powerpc-ibm-aix4.1.4.0=aix_41
  powerpc-ibm-aix4.1.5.0=aix_41
! powerpc-unknown-linux-gnu=linux-elf
  sparc-sun-solaris=sparc_solaris-gcc
  sparc-unknown-linux-gnu=linux-elf-sparc
--- 17,22 ----
  powerpc-ibm-aix3.2.5=aix_325
  powerpc-ibm-aix4.1.4.0=aix_41
  powerpc-ibm-aix4.1.5.0=aix_41
! powerpc-unknown-linux-gnu=linux-elf-ppc
  sparc-sun-solaris=sparc_solaris-gcc
  sparc-unknown-linux-gnu=linux-elf-sparc
diff -c -N template.orig/linux-elf-ppc template/linux-elf-ppc
*** template.orig/linux-elf-ppc    Thu Jan  1 09:00:00 1970
--- template/linux-elf-ppc    Thu Feb 12 15:14:41 1998
***************
*** 0 ****
--- 1,10 ----
+ AROPT:crs
+ CFLAGS:-O2
+ SHARED_LIB:-fpic
+ ALL:
+ SRCH_INC:/usr/include/ncurses /usr/include/readline
+ SRCH_LIB:
+ USE_LOCALE:no
+ DLSUFFIX:.so
+ YFLAGS:-d
+ YACC:bison -y

pgsql-hackers by date:

Previous
From: "Kenji T. Hollis"
Date:
Subject: Re: [HACKERS] PostGreSQL v6.2.1 for Linux Alpha
Next
From: Michael Meskes
Date:
Subject: Re: [HACKERS] cursor access doesn't work anmore