Обсуждение: compiling on Solaris 8 x86

Поиск
Список
Период
Сортировка

compiling on Solaris 8 x86

От
Denis A Ustimenko
Дата:
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 ;;




Re: compiling on Solaris 8 x86

От
Bruce Momjian
Дата:
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,
Pennsylvania19026
 


Re: compiling on Solaris 8 x86

От
Bruce Momjian
Дата:
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,
Pennsylvania19026 
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 ;;
esacAC_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 ;;
esacAC_LINK_FILES([src/backend/port/tas/${tas_file}], [src/backend/port/tas.s])