Thanks, that works.
regards,
Vinu
Galande, Manish wrote:
Vinu,
For 64-bit you have to use -b option. Please, use following command:
./runConfigure -p solaris -c cc -x CC -b 64
By default, without -b, 32-bit library is built.
Manish
-----Original Message-----
From: [email protected] [mailto:[email protected]]
Sent: Tuesday, November 24, 2009 12:35 PM
To: [email protected]; [email protected]
Subject: Xerces 64-bit build issues on Solaris Sparc and X86
Hi,
I am unable to build xerces 2.6.0 in 64-bit mode on SPARC and x86 platform.
I have used "./runConfigure -p solaris -c cc -x CC " to configure 32-bit
on SPARC using sunstudio compiler to build. That works fine. However I
am not sure why 64-bit doesn't work.
For SPARC, I tried following options in runConfigure, which returned an
ELF class error during link time.
./runConfigure -p solaris -c cc -x CC -l -xarch=v9
ld: fatal: file SOLARIS/ASCIIRangeFactory.o: wrong ELF class: ELFCLASS32
ld: fatal: File processing errors. No output written to
/home/vn125969/xerces/xe
rces-c-src_2_6_0/lib/libxerces-c.so.26.0
gmake[1]: ***
[/home/vn125969/xerces/xerces-c-src_2_6_0/lib/libxerces-c.so.26.0]
Error 1
same with the Solaris X86 build as well.
What is missing in the above approach. Kindly help.
Thanks,
Vinu