Peter Eisentraut wrote:
> Bruce Momjian writes:
>
> > The following patch automatically enables 64-bit mode on AMD opteron.
> > We already had spinlock support for it, but I added some comments.
>
> This sort of thing belongs into the template file, not directly in
> configure.in.
I knew you wer
Bruce Momjian writes:
> The following patch automatically enables 64-bit mode on AMD opteron.
> We already had spinlock support for it, but I added some comments.
This sort of thing belongs into the template file, not directly in
configure.in.
--
Peter Eisentraut [EMAIL PROTECTED]
--
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="$CFLA
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"
The following patch automatically enables 64-bit mode on AMD opteron.
We already had spinlock support for it, but I added some comments.
The big question is whether all the operating systems running gcc on
Opteron support the 64-bit flags, and if we want to enable them by
default on Opteron.
If
Interesting. The compiler doesn't do x86_64 by default --- you have to
enable it in the compile.
Any idea how to handle this in our builds? It doesn't seem like a
property of the OS as much as a property of the compiler --- we
already do 64-bit on some platforms without flags.
What is the full
The s_lock.h change will be in 7.4.
---
Tom Lane wrote:
> "Martin D. Weinberg" <[EMAIL PROTECTED]> writes:
> > I didn't change the source tree at all. I used:
>
> > env CFLAGS='-O3 -m64' LD='/usr/bin/ld -melf_x86_64' ./con
Hi folks,
We recently built a dual K8D-based Opteron box running Linux in 64-bit
mode (Debian 'testing' distribution with newly compiled binutils, gcc,
and various support libraries for amd64 architecture).
The Postgres 7.3.3 "port" was simply a matter of setting the appropriate
flags to take of
"Martin D. Weinberg" <[EMAIL PROTECTED]> writes:
> I didn't change the source tree at all. I used:
> env CFLAGS='-O3 -m64' LD='/usr/bin/ld -melf_x86_64' ./configure --with-CXX
> --without-zlib
BTW, see Jeff Baker's nearby report in pgsql-general that s_lock.h needs
to be tweaked to use spinlock
Bruce,
I didn't change the source tree at all. I used:
env CFLAGS='-O3 -m64' LD='/usr/bin/ld -melf_x86_64' ./configure --with-CXX
--without-zlib
with the experimental gcc and bintils from www.x86-64.org. I needed
--without-zlib because I don't have a 64 bit compile yet for zlib.
make
make i
Can you send us a patch?
---
Martin D. Weinberg wrote:
> Hi folks,
>
> We recently built a dual K8D-based Opteron box running Linux in 64-bit
> mode (Debian 'testing' distribution with newly compiled binutils, gcc,
> and va
Hi folks,
We recently built a dual K8D-based Opteron box running Linux in 64-bit
mode (Debian 'testing' distribution with newly compiled binutils, gcc,
and various support libraries for amd64 architecture).
The Postgres 7.3.3 "port" was simply a matter of setting the appropriate
flags to take of
12 matches
Mail list logo