From 5ded46cb8fa29b1c84b5f5ba6aa218dcb04e6212 Mon Sep 17 00:00:00 2001 From: Johnny Willemsen Date: Mon, 30 May 2005 08:01:42 +0000 Subject: ChangeLogTag: Mon May 30 08:01:12 UTC 2005 Johnny Willemsen --- include/makeinclude/platform_aix_ibm.GNU | 22 ++++++++++++++++------ 1 file changed, 16 insertions(+), 6 deletions(-) diff --git a/include/makeinclude/platform_aix_ibm.GNU b/include/makeinclude/platform_aix_ibm.GNU index 92973e84131..0980618f6ac 100644 --- a/include/makeinclude/platform_aix_ibm.GNU +++ b/include/makeinclude/platform_aix_ibm.GNU @@ -106,17 +106,17 @@ else # Visual Age 5 and 6 SHR_FILTER=$(ACE_ROOT)/bin/aix_shr ifeq ($(XLCVERSION),0x0500) TEMPINCDIR = tempinc - CCFLAGS += -qflag=w:w -qstaticinline -qfuncsect -qonce -qtempinc=$(TEMPINCDIR) -DACE_TEMPLATES_REQUIRE_PRAGMA + CCFLAGS += -qflag=w:w -qonce -qtempinc=$(TEMPINCDIR) -DACE_TEMPLATES_REQUIRE_PRAGMA else ifeq ($(XLCVERSION),0x0600) TEMPINCDIR = tempinc -# This is just for the workaround for aio, above. Without it, the compiler -# warns that __C99_RESTRICT is reserved. When that workaround is gone, this -# ifeq can be removed also. -qflag=w:w is what we want in the end. + # This is just for the workaround for aio, above. Without it, the compiler + # warns that __C99_RESTRICT is reserved. When that workaround is gone, this + # ifeq can be removed also. -qflag=w:w is what we want in the end. ifeq (502,$(AIX_VERS)) - CCFLAGS += -qflag=e:e -qstaticinline -qfuncsect -qtempinc=$(TEMPINCDIR) -DACE_TEMPLATES_REQUIRE_SOURCE + CCFLAGS += -qflag=e:e -qtempinc=$(TEMPINCDIR) -DACE_TEMPLATES_REQUIRE_SOURCE else - CCFLAGS += -qflag=w:w -qstaticinline -qfuncsect -qtempinc=$(TEMPINCDIR) -DACE_TEMPLATES_REQUIRE_SOURCE + CCFLAGS += -qflag=w:w -qtempinc=$(TEMPINCDIR) -DACE_TEMPLATES_REQUIRE_SOURCE endif else CXX = echo "Unrecognized compiler version $(XLCVERSION)\n" @@ -128,7 +128,17 @@ else # Visual Age 5 and 6 DLD += -q64 CCFLAGS += -q64 -qwarn64 ARFLAGS := -X64 $(ARFLAGS) + + # This option results in a crash of TAO when building 64bit with Visual Age 6. No idea + # why but don't use it when using Visual Age 6. + ifneq ($(XLCVERSION),0x0600) + CCFLAGS += -qstaticinline + endif + else + # Using 32bit the staticinline option works. + CCFLAGS += -qstaticinline endif + CCFLAGS += -qfuncsect endif # The Visual Age preprocessor is not usable with the TAO_IDL compiler. -- cgit v1.2.1