Re: [pgsql-advocacy] [GENERAL] Postgresql & AMD x86-64

From: Manfred Spraul <manfred(at)colorfullife(dot)com>
To: Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us>
Cc: "Martin D(dot) Weinberg" <weinberg(at)osprey(dot)astro(dot)umass(dot)edu>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: [pgsql-advocacy] [GENERAL] Postgresql & AMD x86-64
Date: 2003-07-18 19:45:49
Message-ID: 3F184E6D.2040000@colorfullife.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-advocacy pgsql-general pgsql-hackers

Bruce Momjian wrote:

> if test "$enable_debug" = yes && test "$ac_cv_prog_cc_g" = yes; then
> CFLAGS="$CFLAGS -g"
> fi
>+
>+ /* Compile AMD Opteron using gcc in 64-bit mode */
>+ if test "$GCC" = yes; then
>+ case $host in
>+ ia64-*) CFLAGS="$CFLAGS -m64"
>+ LDFLAGS="$LDFLAGS -melf_x86_64";;
>+ esac
>+ fi
>+
>
Sorry, I think I confused you:
ia64-* is Intel's Itanium system. They are 64-bit only cpus (the 32-bit
emulation is too slow to be usable). It's supported by multiple
operating systems, among them HP UX, Linux, Windows. As far as I can see
it's supported directly, by 7.3.3, at least RedHat builds their ia64
version without any patches.
x86_64 is AMD's Operon/Athlon 64 system. They support concurrent 32-bit
and 64-bit. Right now only supported by Linux, BSD and Windows support
expected soon.
Thus the test must be for "x86_64-*".

Martin: you are using debian-testing, correct? I've asked a Suse
developer, and on their Linux distribution, -m64 is the default, i.e.
you don't need any switches.

--
Manfred

In response to

Responses

Browse pgsql-advocacy by date

  From Date Subject
Next Message Alvaro Herrera 2003-07-18 20:23:56 Re: Hungarian?
Previous Message Robert Treat 2003-07-18 18:06:13 Re: Hungarian?

Browse pgsql-general by date

  From Date Subject
Next Message scott.marlowe 2003-07-18 20:02:41 Re: Urgent: 10K or more connections
Previous Message Jeff Eckermann 2003-07-18 19:37:17 Re: Access 97 DB to Postgres Migration Questions

Browse pgsql-hackers by date

  From Date Subject
Next Message Paulo Scardine 2003-07-18 19:46:50 SELECT FOR UPDATE NOWAIT
Previous Message Oleg Bartunov 2003-07-18 19:40:08 commiters log