Details
-
Bug
-
Status: Resolved
-
Resolution: Duplicate
-
1.7
-
None
-
None
-
Operating System: Solaris
Platform: Sun
-
28639
Description
I tried to build Xalan-C 1.7 on Solaris with g++ 3.1 compiler. The linkage
stage failed with complains that '-ptr' option is not supported. Apparently,
the configuration script assumes Sun's CC compiler for linking the final
library. I traced the problem down to the line 307 of the Makefile.incl.in:
the linking options were set the same for both Sunâs CC and g++ compilers. I
believe that you guys did the testing only for Sunâs CC on Solaris, and not
for g++ on Solaris combination, since the problem is obvious.
runConfigure -p solaris -cgcc -xg++ -r pthread
Line 307: MAKE_SHARED_LOC = ${CXX} -D${PLATFORM} -G -ptr$(ALL_OBJECTS_DIR)
${LDFLAGS} -h ${LOC_SONAME}
Thanks!
Igor