summaryrefslogtreecommitdiff
path: root/include/makeinclude/platform_linux_kcc.GNU
diff options
context:
space:
mode:
authorlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-27 14:09:37 +0000
committerlevine <levine@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-02-27 14:09:37 +0000
commitcf4fdf6265b9ba2b25bd1f90f2c6be1c84a246c5 (patch)
tree9a0546809e643dd84cb1553d8142e08c471990eb /include/makeinclude/platform_linux_kcc.GNU
parent85f360b467e0667fbf05eff5fabc94120cefcef1 (diff)
downloadATCD-cf4fdf6265b9ba2b25bd1f90f2c6be1c84a246c5.tar.gz
Added note that evaluation copies of KCC might come with libraries
that were built with exception handling support. To use them, ACE must be built with exception handling support (exceptions=1). Also, added support for the exceptions make flag.
Diffstat (limited to 'include/makeinclude/platform_linux_kcc.GNU')
-rw-r--r--include/makeinclude/platform_linux_kcc.GNU14
1 files changed, 13 insertions, 1 deletions
diff --git a/include/makeinclude/platform_linux_kcc.GNU b/include/makeinclude/platform_linux_kcc.GNU
index 4f4289ce269..8b642bc0825 100644
--- a/include/makeinclude/platform_linux_kcc.GNU
+++ b/include/makeinclude/platform_linux_kcc.GNU
@@ -2,8 +2,16 @@
# According to Ben Eng <ben@jetpen.com>, this file
# should allow ACE to be built on Linux using KAI C++ 3.3a.
+#
+# NOTE: evaluation copies of KCC might include libraries that
+# were compiled with exception handling enabled. To enable link
+# compatibility with those libraries, you must build ACE with
+# exception handling enabled, as well. To do that, either set
+# the exceptions macro below to 1, or build with:
+# make exceptions=1
debug = 0
+exceptions =
optimize = 1
CC = /opt/KCC/KCC_BASE/bin/KCC
@@ -14,7 +22,11 @@ DCFLAGS += +K0 -g
DLD = $(CC)
LD = $(CC)
LIBS += -ldl -lpthread -lm
-EXCEPTION = --no_exceptions
+
+ifndef exceptions
+ EXCEPTION = --no_exceptions
+endif # ! exceptions
+
OCFLAGS += +K3 -O --one_instantiation_per_object $(EXCEPTION)
PIC = -fPIC
AR = $(CC)