You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@xalan.apache.org by "Dmitry Hayes (JIRA)" <xa...@xml.apache.org> on 2006/06/30 16:11:30 UTC

[jira] Commented: (XALANC-621) Selection of compiler definitions file fails on Linux PPC in client code

    [ http://issues.apache.org/jira/browse/XALANC-621?page=comments#action_12418656 ] 

Dmitry Hayes commented on XALANC-621:
-------------------------------------

in the same file we have now : 

#elif defined(_AIX)
#include "AIXDefinitions.hpp"
...

#elif defined(__IBMCPP__)
#include "AIXDefinitions.hpp"

In the same time in Makefile.incl.in we have : 
#=============== LINUX SPECIFIC OPTIONS =========================

ifeq ($(PLATFORM), LINUX)

	SUPPORTED = TRUE
	
  ifeq (${CXX}, xlC_r)

			PLATFORM_COMPILE_OPTIONS = -qpic -D_AIX -D_THREAD_SAFE

I'm not sure the patch would work. That's our traditional OS/compiler macros mess. 
I tried to find where form coming the symbol _AIX with no particuler luck. The modern IBM compiles sets _PPC_ for the the hardware platfrom and __TOS_LINUX__ for the Linux OS. __IBMCPP__ just means any IBM C++ compiler. 

> Selection of compiler definitions file fails on Linux PPC in client code
> ------------------------------------------------------------------------
>
>          Key: XALANC-621
>          URL: http://issues.apache.org/jira/browse/XALANC-621
>      Project: XalanC
>         Type: Bug

>   Components: XalanC
>     Versions: CurrentCVS
>     Reporter: David Bertoni
>     Assignee: David Bertoni
>  Attachments: patch.diff
>
> PlatformDefinitions.hpp needs to be patched to allow for proper compiler selection in client code.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-dev-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-dev-help@xml.apache.org