DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://issues.apache.org/bugzilla/show_bug.cgi?id=28953>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=28953 configure gcc 64-bits on solaris fails Summary: configure gcc 64-bits on solaris fails Product: XalanC Version: 1.8 Platform: Sun OS/Version: Solaris Status: NEW Severity: Normal Priority: Other Component: XalanC AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] When launching ./runConfigure -psolaris -cgcc -xg++ -b64 -P/users/lhuard/local The configure script fails on Solaris 9 because it uses the compiler/linker options -xarch=v9 instead of -m64 -mcpu=v9. gcc has no such command line options. In order to fix the problem, I have modified the runConfigure scripts replacing the following lines : if test $bitsToBuild = 64; then bitstobuildDefines=" -DXML_BITSTOBUILD_64 " bitstobuildLink=" " if test $platform; then case $platform in solaris) bitstobuildDefines=" $bitstobuildDefines -xarch=v9 " bitstobuildLink=" -xarch=v9 " ;; aix) by those ones : if test $bitsToBuild = 64; then bitstobuildDefines=" -m64 -DXML_BITSTOBUILD_64 " bitstobuildLink=" -m64 " if test $platform; then case $platform in solaris) bitstobuildDefines=" $bitstobuildDefines -mcpu=v9 " bitstobuildLink=" $bitstobuildLink -mcpu=v9 " ;; aix) And lauching runConfigure with those options: ./runConfigure -psolaris -cgcc -xg++ -b64 -P/users/lhuard/local -l"-m64" -z"-m64" PS: This bug in runConfigure scripts is also present in xerces-c http://nagoya.apache.org/jira/browse/XERCESC-1069 --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
