Обсуждение: Compiler versions on different platforms

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

Compiler versions on different platforms

От
"Vikram Patil"
Дата:

Hello All,

 

 

           I am looking to compile PostgreSQL 8.3.7 on following operation systems with their corresponding compilers

1) Windows => Cl.exe from visual studio

2) Linux => gcc ( What is the oldest version which is okay with this setup ?

3) Solaris 9/10+ => cc and gcc ( same question as above )

4) HP-UX 11i+=> aCC and gcc ( same question as above )

5) AIX 5.3 + => xlC and gc ( same question as above ).

 

I was able to compile on all of the platforms but I want to know about minimum and recommended version requirements for these systems. I am concerned about performance of these binaries and looking to achieve

performance of these binary as close as possible to binaries provided at PostgreSQL website. Or if somebody can point out which binaries EnterpriseDB uses for their binaries it will be great.

 

 

Thanks & Regards,

Vikram

Re: Compiler versions on different platforms

От
Peter Eisentraut
Дата:
On Tuesday 12 May 2009 02:30:56 Vikram Patil wrote:
> I was able to compile on all of the platforms but I want to know about
> minimum and recommended version requirements for these systems. I am
> concerned about performance of these binaries and looking to achieve
> performance of these binary as close as possible to binaries provided at
> PostgreSQL website. Or if somebody can point out which binaries
> EnterpriseDB uses for their binaries it will be great.

The answers to these questions are not well-defined.  Use a compiler that you
trust or that your trusted operating system vendor supports.  PostgreSQL is
not mplayer or the linux kernel; which exact compiler you use doesn't matter
much for performance or stability, as long as the compiler is not outright
broken.