On fre, 2011-12-30 at 14:47 +0900, Manabu Ori wrote: > If we can decide whether to use the hint operand when we build > postgres, I think it's better to check if we can compile and run > a sample code with lwarx hint operand than to refer to some > arbitrary defines, such as FOO_PPC64 or something. > But you can't be sure that the host you are running this on has the same capability as the build system. Packaging systems only classify architectures on broad categories such as "i386" or "powerpc" or maybe "powerpc64". So a package built for "powerpc64" has to run on all powerpc64 hosts.
Imagine you are using some Pentium instruction and run the program on a 80486. It's the same architecture as far as kernel, package management, etc. are concerned, but your program will break. -- Sent via pgsql-hackers mailing list (firstname.lastname@example.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers