summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-17 03:45:02 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2001-04-17 03:45:02 +0000
commitfc1ba1bfad2312461a0860bdd1582a7462b620dc (patch)
tree9964fe8945dc4a777c588adb1561f92512270e2d /include
parent7ca6e06252117a444c4f744477a7373878b24901 (diff)
downloadATCD-fc1ba1bfad2312461a0860bdd1582a7462b620dc.tar.gz
ChangeLogTag:Mon Apr 16 20:42:46 2001 Carlos O'Ryan <coryan@uci.edu>
Diffstat (limited to 'include')
-rw-r--r--include/makeinclude/platform_qnx_rtp_gcc.GNU30
1 files changed, 5 insertions, 25 deletions
diff --git a/include/makeinclude/platform_qnx_rtp_gcc.GNU b/include/makeinclude/platform_qnx_rtp_gcc.GNU
index a3fce9e007e..6b69a6a3749 100644
--- a/include/makeinclude/platform_qnx_rtp_gcc.GNU
+++ b/include/makeinclude/platform_qnx_rtp_gcc.GNU
@@ -4,50 +4,30 @@
ACE_HAS_GNUG_PRE_2_8 := 0
-#new options as suggetsed by Andy Olson 3/10/01
-#---------------/*************/---------------------------------------------
inline = 1
debug = 1
-optimize = 0
+optimize = 1
exceptions = 1
-# note: I used CPPFLAGS instead of C or CC FLAGS, because the stupid QNX gcc
-# will link different start and end sections based on the setting of
-# -fexceptions, so it must be on both the compile AND link phase.
-#
ifeq ($(exceptions),1)
CCFLAGS += -fexceptions
+ LDFLAGS += -fexceptions
else
CCLAGS += -fno-exceptions
+ LDLAGS += -fno-exceptions
endif # ! exceptions
CC = gcc
CXX = g++
DCFLAGS += -gstabs
-#
-# This is a workaround needed only on QNX RTP.
-#
-TAO_DYNAMIC_LIBS=-lTAO_PortableServer
-TAO_COS_NAMING_LIBS=-lTAO_IORTable -lTAO_RTSched -lTAO_PortableServer -lTAO_Svc_Utils
-TAO_COS_NOTIFICATION_LIBS=-lTAO_Svc_Utils -lTAO_DynamicAny
-TAO_RT_SCHED_LIBS=-lTAO_PortableServer
-TAO_FAULT_TOLERANCE_LIBS=-lTAO_IORManip
-TAO_COS_TRADING_LIBS=-lTAO_Svc_Utils
-
CFLAGS += -pipe -W -Wall -Wpointer-arith
-CCFLAGS += $(CFLAGS) -fno-implicit-templates -fexceptions
+CCFLAGS += $(CFLAGS) -fno-implicit-templates
-#
-# Under the current version of QNX RTP ACE crashes
-# if compiled with debug option enabled. We leave the option here,
-# but disable debug by default.
-#
DLD = $(CXX)
LD = $(CXX)
-LDFLAGS +=
LIBS += -lsocket -lstdc++ -lm
-OCFLAGS += -O2
+OCFLAGS += -O3
PIC = -fPIC
AR = ar
ARFLAGS = ruv