Hi,

Using the Xerces 64 bit I am building Xalan 64 bit.

runConfigure is not setting  the compile and link flags for the exe 
creation like for MsgCreator, testXSLT and Xalan itself.
How do I set them?

Output of runConfigure for the command line : 
                                                runConfigure -psolaris 
-cgcc -xg++ -b64 -z-m64 -l-m64 -P/user/sbhatnag/xalanv1.9_64

Generating makefiles with the following options ...
Platform: solaris
C Compiler: gcc
C++ Compiler: g++
Extra compile options:  -m64
Extra link options:  -m64
Transcoder: default
Localization system: inmem
Locale: en_US
Thread option: 
bitsToBuild option: 64
Extra configure options:  --prefix=/user/sbhatnag/xalanv1.9_64
Debug is OFF

checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for a BSD-compatible install... ./install-sh -c
checking for autoconf... true
checking whether -fno-elide-constructors works correctly... yes
checking build system type... sparc-sun-solaris2.8
checking host system type... sparc-sun-solaris2.8
checking for floor in -lm... yes
checking how to run the C++ preprocessor... g++ -E
checking for egrep... grep -E
checking for ANSI C header files... no
checking for mbstowcs... yes
checking if mbstowcs can count only... no
configure: creating ./config.status
config.status: creating Makefile.incl
config.status: creating Makefile
config.status: creating src/xalanc/Makefile
config.status: creating src/xalanc/Utils/Makefile
config.status: creating src/xalanc/Utils/MsgCreator/Makefile
config.status: creating src/xalanc/Utils/XalanMsgLib/Makefile
config.status: creating samples/Makefile
config.status: creating Tests/Makefile

If the result of the above commands look OK to you, go to the directory
/user/sbhatnag/xalan/xml-xalan/c and type "gmake" or "make" to make the 
XALAN-C system.

Note: You must use GNU make to use the Xalan Makefile.

For each of these exe's, I get error like this:

gmake[3]: Entering directory 
`/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/Utils/MsgCreator'
.....
.....
.....
g++ -m64 -w -O3     -DXML_BITSTOBUILD_64  -D__sparc_v9__   -ffor-scope 
-fno-enforce-eh-specs -fno-const-strings -mcpu=ultrasparc3 
-mtune=ultrasparc3  -fno-elide-constructors -Wall -fPIC -DSOLARIS 
-D_REENTRANT -DXALAN_INMEM_MSG_LOADER -c 
-I/user/sbhatnag/xalan/xml-xalan/c/src 
-I/user/sbhatnag/xalan/xml-xalan/c/include -I../../../../nls/include 
-I/user/sbhatnag/xerces/xerces-c-src_2_6_0/src/ 
-I/user/sbhatnag/xerces/xerces-c-src_2_6_0/include/xercesc 
-I/user/sbhatnag/xerces/xerces-c-src_2_6_0/include/  -o 
../../../../obj/SAX2Handler.o 
/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/Utils/MsgCreator/SAX2Handler.cpp
g++ -DSOLARIS -fPIC -DXALAN_INMEM_MSG_LOADER   \
-lc  -L/user/sbhatnag/xerces/xerces-c-src_2_6_0/lib -lxerces-c 
../../../../obj/MsgFileOutputStream.o ../../../../obj/ICUResHandler.o 
../../../../obj/InMemHandler.o ../../../../obj/MsgCreator.o 
../../../../obj/NLSHandler.o ../../../../obj/SAX2Handler.o -o 
../../../../bin/MsgCreator 
ld: fatal: file 
/user/sbhatnag/xerces/xerces-c-src_2_6_0/lib/libxerces-c.so: wrong ELF 
class: ELFCLASS64
ld: fatal: file ../../../../obj/MsgFileOutputStream.o: wrong ELF class: 
ELFCLASS64
ld: fatal: File processing errors. No output written to 
../../../../bin/MsgCreator
collect2: ld returned 1 exit status
gmake[3]: *** [../../../../bin/MsgCreator] Error 1
gmake[3]: Leaving directory 
`/user/sbhatnag/xalan/xml-xalan/c/src/xalanc/Utils/MsgCreator'

warm regards

Saurabh

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to