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