[Wien] Wien2k for AMD Athlon is it 64 bit or not.
Gerhard H Fecher
fecher at uni-mainz.de
Fri Jun 9 15:51:36 CEST 2006
First, is youre AMD ATHLON a 64 bit one or a 32 bit one.
Second do you really have a 64 bit Version of Suse installed, usually 10.0
includes both Versions and installs 64 bit only if the processor is 64 bit.
Check what version is installed, not what is written on the box.
This you can do by checking whether the 64 bit (emt, indeed on Athlon or
Pentium, or Xeon) libraries are installed or not.
Third, it does not depend on the compiler Version or processor you use for
what system the code will be produced. The compiler is always able to create
32, em64t or real 64 bit code by selecting the correct switches, however, a
compilation for 64 bit will run only on Ithanium processors. The new (not the
old that are 32 bit only), Athlon or Pentium are not real 64 bit processors
but have 64 bit extensions, therefore, you need the em64t versions of the
libraries. Anyway, a 32bit compilation will run on an em64t machine, provided
you have in case of dynamic linking all necessary libraries installed.
In short: check that all libraries are compatible.
Depending on the the small version of the compiler, -static-libcxa may not
work on em64t machines. So try to link everything dynamically, what will at
present cause much less troubles compared to any attempts to link statically.
Ciao Gerhard
More information about the Wien
mailing list