Configure and build xerces-c 2.8.0 using GCC 3.4.6 on Linux x86_64
seemed to be okay. But how come the binary shows file type is for AMD
processor even though my build system is Intel processor? Is this a
problem?
Configure steps:
# export XERCESCROOT=/path/to/xerces-c-src_2_8_0
# cd $XERCESCROOT/src/xerces
# ./runConfigure -plinux -cgcc -xg++ -rpthread -z-pthread
Build step:
# make
Validate:
# /usr/sbin/dmidecode --type processor
Family: Xeon
Manufacturer: Intel
# file xerces-c-src_2_8_0/lib/libxerces-c.so.28.0
libxerces-c.so.28.0: ELF 64-bit LSB shared object, AMD
x86-64, version 1 (SYSV), not stripped
Randomly check other files. The findings are interesting. Is it
normal?
# file /usr/lib/libkntlm.so.0.0.0
/usr/lib/libkntlm.so.0.0.0: ELF 32-bit LSB shared object,
Intel 80386, version 1 (SYSV), stripped
# file /usr/lib64/libkntlm.so.0.0.0
/usr/lib64/libkntlm.so.0.0.0: ELF 64-bit LSB shared object,
AMD x86-64, version 1 (SYSV), stripped