Zhuo Yang wrote:
Hi,
Are the following platforms/compilers supported by Xalan-C 1.10?
* Solaris 2.10 x86 using GCC 32-bit and 64-bit
* Solaris 2.10 Sparc 64-bit (sparcv9) using GCC 32-bit and 64-bit
I've never seen a version of GCC on Solaris x86 or Solaris SPARC that
could build 64-bit binaries, so I've never tried it.
On Xalan-C official site http://xml.apache.org/xalan-c/download.html,
above platforms are not mentioned.
Xalan-C_1_10_0-solaris_28-cc_62.tar.gz
xerces-c2_7_0-solaris_28-cc_62.tar.gz Solaris 2.8 (32-bit)
Xalan-C_1_10_0-solaris_28_64-cc_62.tar.gz
xerces-c2_7_0-solaris_28_64-cc_62.tar.gz Solaris 2.8 (64-bit)
Xalan-C 1.10 was compiled against xerces-c 2.7.0. Also the compiler is
CC, but not gcc.
But above platforms are mentioned on the page
"http://mail-archives.apache.org/mod_mbox/xml-xalan-dev/200809.mbox/%3cofcb92c754.8134fcb8-on802574cc.0049d4bb-802574cc.004a2...@harte-hanks.com%3e".
My experience is xerces-c 2.8.0 can be compiled on these two platforms,
not xerces-c 2.7.0.
My questions are:
* Is there a plan for releasing Xalan with Solaris 64-bit platform
support using GCC?
This should be possible if Sun ships a pre-built version of GCC and the
run-time libraries that support 64-bit executables.
* Can Xalan-C be replaced by Xalan-J? Is Xalan-J the next
generation of Xalan with Xalan-C supported?
I'm not sure I understand this question. Xalan-J is written in Java and
Xalan-C is written in C++.
* http://cvs.apache.org/snapshots/xml-xalan/ (for the latest source
code) has been removed? Where can I get the latest source code to
check out 64-bit related bug fixes?
You can pull the latest code out of the SVN repository.
* In order to build on Solaris x86_64 platform, I tweaked the
"runConfigure" script to take GCC compiler, but "make" failed.
o My build system configuration:
+ Sun Fire 2100
+ AMD64 processor
+ Solaris 10 x86 64-bit
+ Compiler GCC 3.4.3 (/usr/sfw/bin/gcc)
+ Make 3.81
+ Other tools are downloaded from
http://www.sunfreeware.com
I don't think you need to tweak anything. You can just use the "Linux"
option for -p, because "-p" is really more of a compiler selection,
rather than an actual platform selection.
Dave