| From: | Bruce Momjian <pgman(at)candle(dot)pha(dot)pa(dot)us> |
|---|---|
| To: | Manfred Spraul <manfred(at)colorfullife(dot)com> |
| 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-19 14:14:10 |
| Message-ID: | 200307191414.h6JEEAn25586@candle.pha.pa.us |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-advocacy pgsql-general pgsql-hackers |
Manfred Spraul wrote:
> 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:
I am easily confused. It certainly makes more sense fir ia64 to be
Intel, not AMD. :-)
> 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.
I have applied the following patch to document the cpus supported by
each define.
Martin mentioned that he has applied a special 64-bit kit to do the
compile, so perhaps he needs it, but most will not. I will keep the
patch around and see if others need it during beta.
--
Bruce Momjian | http://candle.pha.pa.us
pgman(at)candle(dot)pha(dot)pa(dot)us | (610) 359-1001
+ If your life is a hard drive, | 13 Roberts Road
+ Christ can be your backup. | Newtown Square, Pennsylvania 19073
| Attachment | Content-Type | Size |
|---|---|---|
| unknown_filename | text/plain | 814 bytes |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Arcadius A. | 2003-07-19 15:58:56 | Why pg_hba.conf ? |
| Previous Message | Larry Rosenman | 2003-07-19 13:55:14 | Looks like we did it... |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Ron Johnson | 2003-07-19 16:08:08 | Re: What about a comp.databases.postgresql usenet |
| Previous Message | Tom Lane | 2003-07-19 13:57:35 | Re: Urgent: 10K or more connections |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Philip Warner | 2003-07-19 14:23:51 | Re: plpgsql strangeness with select into <variable> |
| Previous Message | Tom Lane | 2003-07-19 13:57:35 | Re: Urgent: 10K or more connections |