compiling on Solaris 8 x86

Started by Denis A Ustimenkoabout 24 years ago3 messages
#1Denis A Ustimenko
denis@oldham.ru

Hi!

Without this patch I couldn't compile PostgreSQL on Solaris 8 x86 using
Sun's compiler. May be it will be usefull for someone else?

Regards
Denis Ustimenko
Oldham

---------------------------------------------------------------
denis@tracer$ diff configure.orig configure
744c744
< i?86-*-solaris) need_tas=yes; tas_file=solaris_i386.s ;;
---

Show quoted text

i?86-*-solaris*) need_tas=yes; tas_file=solaris_i386.s ;;

#2Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Denis A Ustimenko (#1)
Re: compiling on Solaris 8 x86

Patch to be applied to proper config* file.

Your patch has been added to the PostgreSQL unapplied patches list at:

http://candle.pha.pa.us/cgi-bin/pgpatches

I will try to apply it within the next 48 hours.

---------------------------------------------------------------------------

Hi!

Without this patch I couldn't compile PostgreSQL on Solaris 8 x86 using
Sun's compiler. May be it will be usefull for someone else?

Regards
Denis Ustimenko
Oldham

---------------------------------------------------------------
denis@tracer$ diff configure.orig configure
744c744
< i?86-*-solaris) need_tas=yes; tas_file=solaris_i386.s ;;
---

i?86-*-solaris*) need_tas=yes; tas_file=solaris_i386.s ;;

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026
#3Bruce Momjian
pgman@candle.pha.pa.us
In reply to: Denis A Ustimenko (#1)
1 attachment(s)
Re: compiling on Solaris 8 x86

Patch applied. Thanks. Patch attached. autoconf run.

---------------------------------------------------------------------------

Hi!

Without this patch I couldn't compile PostgreSQL on Solaris 8 x86 using
Sun's compiler. May be it will be usefull for someone else?

Regards
Denis Ustimenko
Oldham

---------------------------------------------------------------
denis@tracer$ diff configure.orig configure
744c744
< i?86-*-solaris) need_tas=yes; tas_file=solaris_i386.s ;;
---

i?86-*-solaris*) need_tas=yes; tas_file=solaris_i386.s ;;

---------------------------(end of broadcast)---------------------------
TIP 6: Have you searched our list archives?

http://archives.postgresql.org

-- 
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

Attachments:

/bjm/difftext/plainDownload
Index: configure.in
===================================================================
RCS file: /cvsroot/pgsql/configure.in,v
retrieving revision 1.145
diff -c -r1.145 configure.in
*** configure.in	2001/10/13 04:23:50	1.145
--- configure.in	2001/10/19 15:03:22
***************
*** 116,122 ****
  case $host in
    *-*-hpux*)        need_tas=yes; tas_file=hpux.s ;;
    sparc-*-solaris*) need_tas=yes; tas_file=solaris_sparc.s ;;
!   i?86-*-solaris)   need_tas=yes; tas_file=solaris_i386.s ;;
    *)                need_tas=no;  tas_file=dummy.s ;;
  esac
  AC_LINK_FILES([src/backend/port/tas/${tas_file}], [src/backend/port/tas.s])
--- 116,122 ----
  case $host in
    *-*-hpux*)        need_tas=yes; tas_file=hpux.s ;;
    sparc-*-solaris*) need_tas=yes; tas_file=solaris_sparc.s ;;
!   i?86-*-solaris*)   need_tas=yes; tas_file=solaris_i386.s ;;
    *)                need_tas=no;  tas_file=dummy.s ;;
  esac
  AC_LINK_FILES([src/backend/port/tas/${tas_file}], [src/backend/port/tas.s])