Hi Zhuo,

Zhuo Yang <zhuo_y...@symantec.com> writes:

> But how come the binary shows file type is for AMD processor even 
> though my build system is Intel processor?
>
> [...]  
>
>               # ./runConfigure -plinux -cgcc -xg++ -rpthread -z-pthread

Here is a note from build instructions[1]:

"If you are building a 64 bit Xerces-C++ using g++ that by default 
 generated 32 bit code (or vice versa), then you will need to specify
 additional compiler and linker options via the -z and -l runConfigure
 options in order to switch the compiler into 64 bit mode (or 32 bit
 mode). These options are architecture-specific and you may need to
 consult the GCC manual to determine which ones to use. For the x86-64,
 PowerPC, and SPARC architectures these options are -m64 (64 bit mode)
 and -m32 (32 bit mode)."

[1] http://xerces.apache.org/xerces-c/build-winunix-2.html#UNIX

Boris

-- 
Boris Kolpackov, Code Synthesis Tools   http://codesynthesis.com/~boris/blog
Open source XML data binding for C++:   http://codesynthesis.com/products/xsd
Mobile/embedded validating XML parsing: http://codesynthesis.com/products/xsde

Reply via email to